Flixel Forums

development => help => Topic started by: !8bit!man on Sun, May 13, 2012

Title: Numbers
Post by: !8bit!man on Sun, May 13, 2012
How can i display a number with only three digits after the decimal point? For now i can only display one that have a lot of number after the decimal point....
Title: Re: Numbers
Post by: photonstorm on Sun, May 13, 2012
var a:Number = 34.666999;

trace(a.toFixed(3)); // 34.666
Title: Re: Numbers
Post by: !8bit!man on Sun, May 13, 2012
Thanks a lot man....