Sorry
I've got it.
Thanks a lot
----- Original Message -----
From: Nathan Taylor
To: phpu
Sent: Wednesday, September 10, 2003 2:59 AM
Subject: Re: [PHP] divide
Check out number_format() like I said.
----- Original Message -----
From: phpu
To: Nathan Taylor
Cc: [EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 8:04 PM
Subject: Re: [PHP] divide
yes but if the result is a number like this 34056983 i wanna display this number
like this 34,056,983
Please help me with this one
----- Original Message -----
From: Nathan Taylor
To: phpu
Sent: Wednesday, September 10, 2003 2:49 AM
Subject: Re: [PHP] divide
Check out number_format();
www.php.net/number_format
----- Original Message -----
From: phpu
To: [EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 7:50 PM
Subject: [PHP] divide
Hello,
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
thanks