Re: number formatting
| From: | Valerio Ferrucci | Date: | Wed, 14 Feb 2001 15:12:07 +0000 |
| Subject: | Re: number formatting | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6613@lists.php.net to get a copy of this message | ||
Thanks,
and if I say 2 decimals, the function returns
2,00
how to cut the final zeros (and also the ',' if last char), to obtain
2?
Or num: 2.450 -> 2,45 (also if I said 4 decimals)
Thanks
Ben Cairns wrote:
> This should tell what you need to know:
> http://www.php.net/manual/en/function.number-format.php
>
> -- Ben Cairns - Head Of Technical Operations
> intasept.COM
> Tel: 01332 365333
> Fax: 01332 346010
> E-Mail: BenC@intasept.com
> Web: http://www.intasept.com
>
> "MAKING sense of
> the INFORMATION
> TECHNOLOGY age
> @ WORK......"
--
==================================================================
Valerio Ferrucci Tabasoft Sas
valfer@flashnet.it http://tabasoft.ancitel.it
taba@flashnet.it