/ Published in: ActionScript 3

know how to show a number with a fixed number of digits after the decimal point.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var num:Number = 12.3456; trace(num.toFixed(2));// => 12.34
URL: http://flash.sikotiko.com/2009/04/23/as3-number-methods/
Comments
