note 90326 added to function.ceil

From: Date: Thu, 16 Apr 2009 13:47:03 +0000
Subject: note 90326 added to function.ceil
Groups: php.notes 
Request: Send a blank email to php-notes+get-153391@lists.php.net to get a copy of this message
"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? ---- Server IP: 195.207.10.20 Probable Submitter: 81.11.175.111 ---- Manual Page -- http://www.php.net/manual/en/function.ceil.php Edit -- https://master.php.net/note/edit/90326 Del: integrated -- https://master.php.net/note/delete/90326/integrated Del: useless -- https://master.php.net/note/delete/90326/useless Del: bad code -- https://master.php.net/note/delete/90326/bad+code Del: spam -- https://master.php.net/note/delete/90326/spam Del: non-english -- https://master.php.net/note/delete/90326/non-english Del: in docs -- https://master.php.net/note/delete/90326/in+docs Del: other reasons-- https://master.php.net/note/delete/90326 Reject -- https://master.php.net/note/reject/90326 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#153391) next »