Revision: 835
Updated Code
at August 13, 2006 06:20 by ypmits
Updated Code
public function getRandomNumber(minNum:Number,maxNum:Number):Number{ return(minNum+Math.floor(Math.random()*(maxNum+1-minNum))); };
Revision: 834
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 13, 2006 06:19 by ypmits
Initial Code
public function getRandomNumber(minNum:Number,maxNum:Number):Number{ return(minNum+Math.floor(Math.random()*(maxNum+1-minNum))); };
Initial URL
Initial Description
This will return a random number between two given numbers.
Initial Title
getRandomNumber
Initial Tags
number, textmate, actionscript
Initial Language
ActionScript