Skip to content

Instantly share code, notes, and snippets.

@hernanBeiza
Created December 30, 2014 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hernanBeiza/33b359dde6b6f05da5e4 to your computer and use it in GitHub Desktop.
Save hernanBeiza/33b359dde6b6f05da5e4 to your computer and use it in GitHub Desktop.
AS3 - Rango Random
internal function rangoRandom(low:Number,high:Number):Number {
var numeroRandom:Number = Math.floor(Math.random() * (high - low)) + low;
//trace("Numero Random: " + numeroRandom);
return numeroRandom;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment