note 37619 deleted from function.ceil by irchtml
| From: | irchtml@php.net | Date: | Wed, 10 Mar 2004 23:53:12 +0000 |
| Subject: | note 37619 deleted from function.ceil by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66590@lists.php.net to get a copy of this message | ||
Note Submitter: xris*forevermore__dot__net_dot_nospam
----
The documentation for ceil() says "next highest integer" but this isn't really the
case. It actually only rounds to the next highest integer if the passed-in value isn't an
integer. Thus:
ceil(1.1) == 2;
ceil(2) == 2;