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. 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... Thanks. Teddy ----- Original Message ----- From: "Marek Kilimajer" <lists@xxxxxxxxxxxxx> To: "Octavian Rasnita" <orasnita@xxxxxx> Cc: <php-general@xxxxxxxxxxxxx> Sent: Sunday, November 28, 2004 12:39 AM Subject: Re: Re: Bad PHP error Octavian Rasnita wrote: > Well, that big number is not converted as a string and printed this way, or > I am missing something. > > Here is an example: > > <?php > $var = 1000000000000; > //Here I have also tried inserting $var = (string) $var; > echo "$var"; > ?> > > This prints: > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php