package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var nValue:Number = 6.39639; nValue *= 100; nValue = Math.floor(nValue); nValue /= 100; trace(nValue); // Displays: 6.39 } } }