RE: RE: round()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 7:30 PM -0700 10/11/07, Instruct ICC wrote:


Now I see why BCMath was mentioned.

Yes, but precision is not the issue.

It doesn't make any difference if you are rounding.

(a) 1.489123451985765

or

(b) 148912345198576.5

You still have to make a decision as to if the above (a) rounds to:

(a) 1.48912345198577

or

(a) 1.48912345198576

or the above (b) rounds to:

(b)148912345198577

or

(b) 148912345198576

It's a question of rounding, not precision.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux