Return to Snippet

Revision: 19467
at October 24, 2009 13:44 by petrafull


Initial Code
function randRange(min:Number, max:Number):Number {
    var randomNum:Number = Math.floor(Math.random() * (max - min + 1)) + min;
    return randomNum;
}

Initial URL

                                

Initial Description
Get a random Number in AS3

Initial Title
AS random Number

Initial Tags
actionscript

Initial Language
ActionScript