PDA

View Full Version : Random number generator help


Wayte
02-10-2009, 07:33 PM
Ok stupid question, but how do I change the range of the random number generator? All I can get is 0-1, I can't find an option to change it.

Mike Betts
02-10-2009, 08:00 PM
If you multiply the output by X you get a range of 0 to X.

If you then subtract the result by X/2 you get a range of -X/2 to +X/2.

What more could you need?