Re: Re: Bad PHP error
| From: | Marek Kilimajer | Date: | Sat, 27 Nov 2004 23:54:00 +0000 |
| Subject: | Re: Re: Bad PHP error | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202980@lists.php.net to get a copy of this message | ||
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.