note 34209 added to function.ceil
| From: | hansarnholm at hotmail dot com | Date: | Fri, 18 Jul 2003 09:34:44 +0000 |
| Subject: | note 34209 added to function.ceil | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-52332@lists.php.net to get a copy of this message | ||
I wish that I could use the ceil function with a percision parameter... I guess there is some kind
of work around. Wonder who I do
$var = 15,7635
echo ceil($var,2); //wish would act like round() but only rounding up so the result would be: 15,77
----
Manual Page -- http://www.php.net/manual/en/function.ceil.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34209
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34209&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34209&report=yes