note 39522 added to function.ceil
| From: | q-fi at rn2 dot php dot net | Date: | Sat, 31 Jan 2004 19:25:48 +0000 |
| Subject: | note 39522 added to function.ceil | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64484@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/function.ceil.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39522
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39522&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39522&report=yes
Search -- http://master.php.net/manage/user-notes.php