note 39522 deleted from function.ceil by irchtml
| From: | irchtml@php.net | Date: | Wed, 10 Mar 2004 23:53:13 +0000 |
| Subject: | note 39522 deleted from function.ceil by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66591@lists.php.net to get a copy of this message | ||
Note Submitter: q-fi
----
xris*forevermore__dot__net_dot_nospam says that
ceil() actually only rounds to the next highest integer if the passed-in value isn't an
integer.
Still:
ceil(2.0) == 2;
and 2.0 is float,
so the case actually is that it rounds to the next highest or equal integer.