note 90326 deleted from function.ceil by danbrown
| From: | danbrown@php.net | Date: | Thu, 16 Apr 2009 13:48:27 +0000 |
| Subject: | note 90326 deleted from function.ceil by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-153392@lists.php.net to get a copy of this message | ||
Note Submitter: Mathias Bynens
----
"Returns the next highest integer value by rounding up value if necessary." So, <?php
ceil(0); ?> should return 1, right?
It doesn't.
<?php
ceil(0); // returns 0
?>
Is this a bug, or intended behavior?