note 4437 deleted from function.round by jeroen
| From: | jeroen@php.net | Date: | Sat, 01 Sep 2001 12:41:27 +0000 |
| Subject: | note 4437 deleted from function.round by jeroen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17504@lists.php.net to get a copy of this message | ||
Sure would be nice to have precision on the round function, such as round(string, precision) so that
round(32.5555,2) returned 32.56. Or almost as good would be a truncate function (might be easier to
add, I don't know) so that truncate(32.5555,2) returned 32.55.