Revision: 14080
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 18, 2009 21:38 by cessnajumpin
Initial Code
Code Number of Decimal Places Example Results value= Math.round(20/7); none 3 value= int((20/7)*10)/10; 1 2.8 value= int((20/7)*100)/100; 2 2.85 value= int((20/7)*1000)/1000; 3 2.857 value= int((20/7)*10000)/10000; 4 2.85 71
Initial URL
http://kb2.adobe.com/cps/155/tn_15542.html
Initial Description
I completely copied this from the Adobe site; but it's still a great reference.
Initial Title
rounding numbers to decimal places
Initial Tags
Initial Language
ActionScript 3