note 31436 added to function.ceil

From: Date: Mon, 21 Apr 2003 22:31:09 +0000
Subject: note 31436 added to function.ceil
Groups: php.notes 
Request: Send a blank email to php-notes+get-46914@lists.php.net to get a copy of this message
ceil() rounds towards positive infinity ("up"), floor() rounds towards negative infinity ("down"). If you want, say, 2.6 to round to 3, and -2.6 to round to -3, you want round(), which rounds away from zero. -- http://www.php.net/manual/en/function.ceil.php http://master.php.net/manage/user-notes.php?action=edit+31436 http://master.php.net/manage/user-notes.php?action=delete+31436 http://master.php.net/manage/user-notes.php?action=reject+31436

« previous php.notes (#46914) next »