From: "phpu" <[EMAIL PROTECTED]> > I'm new in php and i've got allready a problem. > I wanna divide 2 numbers and the result to be an integer separated by comma. For example: > $number1=10000000; > $number2=17; > $result=$number1 / $number2; > In this case the result is 588235.29411764.... > And I wanna the result to be like this 588,235
I don't know if this is old or not, but I just got it. Anyhow, use number_format() ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php