Re: To format a number
| From: | zerof | Date: | Fri, 07 Nov 2003 15:18:55 +0000 |
| Subject: | Re: To format a number | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168856@lists.php.net to get a copy of this message | ||
This problem can be veryu simple if you are at Unix like server:
http://www.php.net/localeconv
[ See also setlocale() ]
-----
zerof
-----
<phpziobudda@libero.it> escreveu na mensagem
news:002d01c3a4aa$d029c5e0$39ab623e@valenti...
Hi, I have a little problem.
I have a number for example 5 and I would it transform in 5,00.
I tried with round() but it doesn't add the numbers after comma with an interger number.
Does some funtion that make this exist?
Thanks