Bug #17772 Updated: round() not rounds as expected
| From: | hholzgra@php.net | Date: | Sat, 15 Jun 2002 16:52:02 +0000 |
| Subject: | Bug #17772 Updated: round() not rounds as expected | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10508@lists.php.net to get a copy of this message | ||
ID: 17772
Updated by: hholzgra@php.net
Reported By: carlos@wfmh.org.pl
-Status: Open
+Status: Bogus
Bug Type: *Math Functions
Operating System: Linux GNU/Debian
PHP Version: 4.1.2
New Comment:
see the note on float precision on
http://www.php.net/manual/en/language.types.float.php
Previous Comments:
------------------------------------------------------------------------
[2002-06-15 10:10:50] carlos@wfmh.org.pl
round(12.555, 2) produces 12.55 not 12.56 as is documented (and as it
should). round(12.556, 2) works fine thou.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17772&edit=1