Re: note 9413 added to number_format
| From: | J. M. Castagnetto | Date: | Fri, 03 Nov 2000 23:30:37 +0000 |
| Subject: | Re: note 9413 added to number_format | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7361@lists.php.net to get a copy of this message | ||
I just tested w/ PHP 4.0.3pl1, the following behaves
as it should:
echo number_format(123244.3453,2,",","");
prints out:
123244,35
Your note has been removed
--- gilbert-murgallis@home.com wrote:
> It appears that the simple solution would be to
> modify the function in the next release. For ease of
> use if the thousands_sep is not defined it should
> not print commas by default. It makes more sense
> since you get a comma whether you specify one or
> not.
>
>
> http://www.php.net/manual/function.number-format.php
>
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/