note 35491 added to function.round

From: Date: Wed, 03 Sep 2003 00:17:09 +0000
Subject: note 35491 added to function.round
Groups: php.notes 
Request: Send a blank email to php-notes+get-55503@lists.php.net to get a copy of this message
Ordinary binary floating point can store 11.5 (and other integer and a halfs) exactly, as 8+2+1+0.5, or (1.0111 * 10^3)base2, so the rounding you are having issues probably aren't caused by that. ---- Manual Page -- http://www.php.net/manual/en/function.round.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35491 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35491&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35491&report=yes

« previous php.notes (#55503) next »