note 86297 added to function.round
| From: | matrebatre at osu1 dot php dot net | Date: | Sat, 11 Oct 2008 16:50:21 +0000 |
| Subject: | note 86297 added to function.round | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145275@lists.php.net to get a copy of this message | ||
@chris: why would you want that?
8.1246 is closer to 8.12 than to 8.13 so it is perfectly normal that round(8.1246,2) gives 8.12 ...
----
Server IP: 195.207.10.20
Probable Submitter: 81.241.39.163
----
Manual Page -- http://www.php.net/manual/en/function.round.php
Edit -- https://master.php.net/note/edit/86297
Del: integrated -- https://master.php.net/note/delete/86297/integrated
Del: useless -- https://master.php.net/note/delete/86297/useless
Del: bad code -- https://master.php.net/note/delete/86297/bad+code
Del: spam -- https://master.php.net/note/delete/86297/spam
Del: non-english -- https://master.php.net/note/delete/86297/non-english
Del: in docs -- https://master.php.net/note/delete/86297/in+docs
Del: other reasons-- https://master.php.net/note/delete/86297
Reject -- https://master.php.net/note/reject/86297
Search -- https://master.php.net/manage/user-notes.php