public class Main extends Sprite{ public function Main(){ var nOne:Number = Number("468"); // 468 var nTwo:Number = Number("23.45"); // 23.45 var nThree:Number = Number("abc"); // NaN (Not a Number) var nFour:Number = Number("0101"); // 65 (Octal) } } }
Related Scripts with Example Source Code in same category :