Bug #15979 Updated: When adding 0.01 in a loop, math starts getting incorrect
| From: | sniper@php.net | Date: | Sun, 10 Mar 2002 17:55:35 +0000 |
| Subject: | Bug #15979 Updated: When adding 0.01 in a loop, math starts getting incorrect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2166@lists.php.net to get a copy of this message | ||
ID: 15979
Updated by: sniper@php.net
Reported By: josh.anderson@afraid.org
-Status: Open
+Status: Bogus
Bug Type: Math related
Operating System: FreeBSD 4.2
PHP Version: 4.1.2
New Comment:
This is not a bug. Please double-check the documentation available
at http://www.php.net/manual/ and the instructions on how
to report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2002-03-09 23:55:43] josh.anderson@afraid.org
http://freedns.afraid.org/tools/test.phps
http://freedns.afraid.org/tools/test.php
Here's the output of where the problem starts happening:
4.39
4.4
4.41
4.42
4.4299999999999
4.4399999999999
4.4499999999999
4.4599999999999
I get 4.4299999999999 instead of 4.43
Josh
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15979&edit=1