note 75210 deleted from function.floor by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 Mar 2011 15:21:59 +0000 |
| Subject: | note 75210 deleted from function.floor by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177760@lists.php.net to get a copy of this message | ||
Note Submitter: Matthäus Brandl
----
As a response to Jared Fine:
There is a little problem with your suggestion.
floor(2.95) == 2 != floor(round(2.95, 1)) == 3
as round(2.95, 1) == 3.0