note 2290 deleted from function.round by jeroen
| From: | jeroen@php.net | Date: | Sat, 01 Sep 2001 12:42:07 +0000 |
| Subject: | note 2290 deleted from function.round by jeroen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17507@lists.php.net to get a copy of this message | ||
The easiest way I could think of to round a number to two digits was this:
round(100*number)/100