note 9456 added to number_format
| From: | jmcastagnetto@php.net | Date: | Fri, 03 Nov 2000 23:28:38 +0000 |
| Subject: | note 9456 added to number_format | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7360@lists.php.net to get a copy of this message | ||
The parameter for the "thousands separator" can be an empty string (tested w/ PHP
4.0.3pl1), so the following will *not* print a comma:
echo number_format(123244.3453,2,",","");
(output: 123244,35)
http://www.php.net/manual/function.number-format.php