#44803 [NEW]: round()

From: Date: Tue, 22 Apr 2008 23:41:06 +0000
Subject: #44803 [NEW]: round()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-124438@lists.php.net to get a copy of this message
From: oguzhanozbay at yahoo dot com Operating system: ýss isapi & apache 2.2 PHP version: 5.2.5 PHP Bug Type: Unknown/Other Function Bug description: round() Description: ------------ How can it be! Reproduce code: --------------- echo round(60000000*10.5); output 6.3E+8 !!! echo round(60000000*(10.5)); output 6.3E+8 !!! echo round(60000000*(10.5),2); output 6.3E+8 !!! echo round(70000000*(10.5)); output 7.35E+8 !!! echo round(70000000*(11.5),2); output 805000000 => true -- Edit bug report at http://bugs.php.net/?id=44803&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44803&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44803&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44803&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44803&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44803&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44803&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44803&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44803&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44803&r=support Expected behavior: http://bugs.php.net/fix.php?id=44803&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44803&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44803&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44803&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44803&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44803&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44803&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44803&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44803&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44803&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44803&r=mysqlcfg

« previous php.bugs (#124438) next »