note 17443 added to function.number-format
| From: | harbater at teamgenesis dot com | Date: | Sun, 09 Dec 2001 11:24:52 +0000 |
| Subject: | note 17443 added to function.number-format | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-22409@lists.php.net to get a copy of this message | ||
If you don't specify decimals and you give it a number with a decimal, the number will be
rounded to no decimals. For example:
number_format(1183.64) will return 1,184.
--
http://www.php.net/manual/en/function.number-format.php
http://master.php.net/manage/user-notes.php?action=edit+17443
http://master.php.net/manage/user-notes.php?action=delete+17443
http://master.php.net/manage/user-notes.php?action=reject+17443