That would be:

num.toFixed(2));

HTH
Cor

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of jimmi
Sent: dinsdag 27 januari 2009 9:45
To: Flash Coders List
Subject: [Flashcoders] [AS in general] Question corcerning a math formula 

Goodmorning, i am trying to make a formula that makes for example 30.60 of
30.6. So I need it to add a 0. 

This is the formula I am using now.
total = Number(Number(600) / 100 * Number(5.1))

I have tried all sorts of additions to the formula to try to get it to make
30.60 of 30.6. But no luck

Anyone here who knows how to make the formula add a 0?

Best regards,
Jim
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.14/1917 - Release Date: 26-1-2009
18:37

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to