WEIRDCALCULATOR
⠺⠑⠊⠗⠙⠉⠁⠇⠉⠥⠇⠁⠞⠕⠗
Friday, September 19, 2008
Flash random number function
function randomNo(high,low) {
generated = Math.floor(Math.random() * (high - low)) + low;
return generated;
}
note:
high = the highest number to random
low = the lowest number to random
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment