note 18300 added to function.round
| From: | js5 at sanger dot ac dot uk | Date: | Thu, 17 Jan 2002 16:17:05 +0000 |
| Subject: | note 18300 added to function.round | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-24983@lists.php.net to get a copy of this message | ||
This isn't a bug. Rounding of "halves" is usally done to the even number. This means
that on average half of the "halves" are rounded up and half of the "halves" are
rounded down. So that
any "average" calculated should not be affected by the rounding.
--
http://www.php.net/manual/en/function.round.php
http://master.php.net/manage/user-notes.php?action=edit+18300
http://master.php.net/manage/user-notes.php?action=delete+18300
http://master.php.net/manage/user-notes.php?action=reject+18300