grudz
05-04-2005, 09:57 PM
Hi,
I have a script that calculates the total of 2 numbers
Ex: 500.00 + 275.50 = $amount
then it prints the $amount as 775.5
I would like it to be 775.50....meaning that it always has 2 numbers after the . (instead of only 1 if there is, and if there isn't any numbers it'll be 775)
How can I do that?
Thank you
I have a script that calculates the total of 2 numbers
Ex: 500.00 + 275.50 = $amount
then it prints the $amount as 775.5
I would like it to be 775.50....meaning that it always has 2 numbers after the . (instead of only 1 if there is, and if there isn't any numbers it'll be 775)
How can I do that?
Thank you