Re: Re: Bad PHP error

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

 



Octavian Rasnita wrote:
Thank you. It seems that finally I will need to divide the numbers with
1000000, make the calculations that way, and specify that the numbers are in
millions, because I can't find any solution with PHP.

Yes, this is also a solution.


bcmath functions are not good, because they need a string to work for, and not a number, and if I want to make some calculations, the numbers will be converted to numbers and...

You have to use bc* functions for all calculations.

--
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