note 53467 added to function.floor
| From: | eb1024 at gmail dot com | Date: | Thu, 02 Jun 2005 12:50:34 +0000 |
| Subject: | note 53467 added to function.floor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-89794@lists.php.net to get a copy of this message | ||
Attention, I find this while I was working in a project and it gave me alot of headaches during some
hours, so I'm just letting you know about it... If anyone has any solution please e-mail me or
reply to this note, thank you.
81 / 5.4 = 15
floor(81 / 5.4) = 14
162 / 5.4 = 30
floor(162 / 5.4) = 29
I think this qualifies as a floor() bug...
-Alix Axel
----
Manual Page -- http://www.php.net/manual/en/function.floor.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53467
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53467&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53467&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53467&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53467&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53467&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53467&report=yes
Search -- http://master.php.net/manage/user-notes.php