public class Main extends Sprite{ public function Main(){ var nDecimalOne:Number = 1.23e+2; // results in 123 var nDecimalTwo:Number = 1.23e-2; // results in 0.0123
trace(nDecimalOne); trace(nDecimalTwo); } } }
Related Scripts with Example Source Code in same category :