note 15217 added to function.round
| From: | carlos at php2 dot chek dot com | Date: | Sat, 01 Sep 2001 00:47:56 +0000 |
| Subject: | note 15217 added to function.round | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17482@lists.php.net to get a copy of this message | ||
Seem precision is no 'number of digits after decimal point' any longer. When set to 0 will
still produce xx.yy. Setting it to -2 (at least with 4.0.6 (win32)) will give integer xx. Bug or
feature?
http://www.php.net/manual/en/function.round.php