RE: [PHP] round()
| From: | Instruct ICC | Date: | Wed, 10 Oct 2007 19:23:27 +0000 |
| Subject: | RE: [PHP] round() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263062@lists.php.net to get a copy of this message | ||
> While we're entertaining algorithms, has anyone else noticed that
> php's round() isn't the most accurate algorithm to round?
For those that replied that there is a problem, can you provide examples?
precision
The optional number of decimal digits to round to, defaults to 0
_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us