Re: round()

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

 



On 10/10/07, tedd <tedd@xxxxxxxxxxxx> wrote:
>
> Hi gang:
>
> While we're entertaining algorithms, has anyone else noticed that
> php's round() isn't the most accurate algorithm to round?
>
>
there is a function that uses the bc math library on the bc math
page<http://www.php.net/manual/en/ref.bc.php>
;
first comment in the list; maybe it works better, but i havent tried it.

-nathan

[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