note 59614 deleted from function.intval by mazzanet
| From: | mazzanet@php.net | Date: | Sun, 11 Dec 2005 07:00:23 +0000 |
| Subject: | note 59614 deleted from function.intval by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-99946@lists.php.net to get a copy of this message | ||
Note Submitter: svs at linkharvest dot com
----
The earlier post by "frankie" does not make much sense. Adding .5 to round up to the
nearest integer would work partially, but say you have a value of 8.1. Adding .5 would make it round
at 9, and not 8 as it should.