ID: 20684 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: Windows / Linux PHP Version: 4.2.2 New Comment:
Thank you for taking the time to write to us, but 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 http://www.php.net/manual/en/printwn/language.types.float.php Previous Comments: ------------------------------------------------------------------------ [2002-11-27 15:11:04] [EMAIL PROTECTED] From <? for ($i = -5000; $i <= 5000; $i = $i + 0.01) { echo "$i<br>"; } ?> We've got something like this: [...] -4771 -4770.99 -4770.98 -4770.97 -4770.96 -4770.95 -4770.94 -4770.92999999 -4770.91999999 -4770.90999999 [...] It brokes in random place. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20684&edit=1
