Tuesday, July 22, 2008

Random Number between 1 and 20

Math.ceil(20*Math.random())

1 comment:

Anonymous said...

THANK YOU. something so simple in AS1 has become a lot less obvious, I appreciate this!