Call the number's 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()); } } }