note 98149 added to function.floor
| From: | jochem_php dot net at rechtbank dot org | Date: | Fri, 28 May 2010 10:26:40 +0000 |
| Subject: | note 98149 added to function.floor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-169683@lists.php.net to get a copy of this message | ||
Another quick way to round down to the nearest 100 (including 0):
function floor100($num) {
return (floor($num / 100) * 100);
}
----
Server IP: 69.147.83.197
Probable Submitter: 94.212.25.109
----
Manual Page -- http://www.php.net/manual/en/function.floor.php
Edit -- https://master.php.net/note/edit/98149
Del: integrated -- https://master.php.net/note/delete/98149/integrated
Del: useless -- https://master.php.net/note/delete/98149/useless
Del: bad code -- https://master.php.net/note/delete/98149/bad+code
Del: spam -- https://master.php.net/note/delete/98149/spam
Del: non-english -- https://master.php.net/note/delete/98149/non-english
Del: in docs -- https://master.php.net/note/delete/98149/in+docs
Del: other reasons-- https://master.php.net/note/delete/98149
Reject -- https://master.php.net/note/reject/98149
Search -- https://master.php.net/manage/user-notes.php