note 51661 added to function.round
| From: | roger dot anzoategui at gmail dot com | Date: | Thu, 07 Apr 2005 04:14:24 +0000 |
| Subject: | note 51661 added to function.round | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-87622@lists.php.net to get a copy of this message | ||
Ron, very good observation, in some occasions the behavior of an accounting system in which I
participated, the following problem occurred: reduces it of two exact values did not give zero due
to that millionths of difference in the decimals they existed (not yet itself if due to the own
algorithms of the microprocessor or of the language, did not I have the opportunity to do a bench,
and the surest thing is that this Reason that may not have been able to notice me previously).
Your observation I have it present in my code.
----
Manual Page -- http://www.php.net/manual/en/function.round.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51661
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51661&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51661&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51661&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51661&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51661&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51661&report=yes
Search -- http://master.php.net/manage/user-notes.php