note 73445 added to function.number-format
| From: | chafy at alo dot bg | Date: | Fri, 23 Feb 2007 14:44:14 +0000 |
| Subject: | note 73445 added to function.number-format | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-123769@lists.php.net to get a copy of this message | ||
I found something that, may be a bug... but I am not sure yet.
this.
round(5.555,2);
returns 5.55 instead of 5.56;
The number_format function do the same thing.
Is this a bug or no?
----
Server IP: 217.75.128.29
Probable Submitter: 195.22.146.189
----
Manual Page -- http://www.php.net/manual/en/function.number-format.php
Edit -- https://master.php.net/note/edit/73445
Del: integrated -- https://master.php.net/note/delete/73445/integrated
Del: useless -- https://master.php.net/note/delete/73445/useless
Del: bad code -- https://master.php.net/note/delete/73445/bad+code
Del: spam -- https://master.php.net/note/delete/73445/spam
Del: non-english -- https://master.php.net/note/delete/73445/non-english
Del: in docs -- https://master.php.net/note/delete/73445/in+docs
Del: other reasons-- https://master.php.net/note/delete/73445
Reject -- https://master.php.net/note/reject/73445
Search -- https://master.php.net/manage/user-notes.php