View Single Post
08-25-2008, 05:28 PM
#8
wezy is offline wezy
wezy's Avatar
Status: Junior Member
Join date: Jul 2008
Location: Belgium
Expertise:
Software:
 
Posts: 26
iTrader: 0 / 0%
 

wezy is on a distinguished road

Send a message via MSN to wezy Send a message via Skype™ to wezy

  Old

U could use
Code:
var randomnumber = 2  * Math.floor(Math.random() * 50) + 1
You will get a number between 1 and 99 in this case.

If you want even numbers drop the + 1

Hope this helps.
Wezy