Bug #17772: round() not rounds as expected

From: Date: Sat, 15 Jun 2002 14:10:50 +0000
Subject: Bug #17772: round() not rounds as expected
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10501@lists.php.net to get a copy of this message
From: carlos@wfmh.org.pl Operating system: Linux GNU/Debian PHP version: 4.1.2 PHP Bug Type: *Math Functions Bug description: round() not rounds as expected 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 bug report at http://bugs.php.net/?id=17772&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17772&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17772&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17772&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17772&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17772&r=support Expected behavior: http://bugs.php.net/fix.php?id=17772&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17772&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17772&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17772&r=globals

« previous php.bugs (#10501) next »