Math.floor / Math.ceil / Math.round

Math.floor() 내림값
Math.ceil() 올림값
Math.round() 반올림

_global.randomNumRange = function(min:Number, max:Number) {
	//var r = Math.round(Math.random()*(max-min))+min;
	var r = Math.floor(Math.random()*(max-min+1))+min
	return r;
};

최소값과 최대값 사이에서 동일한 확률의 난수를 생성한다.
flash livedocs를 참조할 것.