Mega Code Archive

 
Categories / Flash ActionScript / Data Type
 

Call the numbers toString() method This is the preferred way

package{   import flash.display.Sprite;      public class Main extends Sprite{     public function Main(){       var x = 2 / 3;       trace(x.toString());     }   } }