package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var nOne:Number = parseInt("13.3"); // 13 var nTwo:Number = parseFloat("13.3"); // 13.3 var nThree:Number = parseInt("54"); // 54 var nFour:Number = parseFloat("54"); // 54 } }}
Name (required)
email (will not be published) (required)
Website