An onLoadProgress listener object is returning a variable I am using to tell the user what percentage of the movie has been loaded. I am happy with the results of
myListener.onLoadProgress = function(empty10MC:MovieClip, loaded:Number, total:Number):Void{
//setText();
var percent:Number = loaded/total*100;
loadingTxt.text = beginTxt + percent + endTxt;
, however the number returned is like 15 digits long! Is there any way I can limit the variable to display only 1 or 2 decimal places?