note 75919 deleted from function.floor by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 Mar 2011 15:21:54 +0000 |
| Subject: | note 75919 deleted from function.floor by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177759@lists.php.net to get a copy of this message | ||
Note Submitter: Jared Fine
----
Good catch Matthäus.
After thinking about it a bit more, it seems there isn't an elegant solution. The only way to
properly handle it is to do some string manipulation, chop it to a specific decimal length,
potentially string pad it, then do your rounding and floor.