Log in

View Full Version : Random number generator help


Wayte
10-02-2009, 19:33
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
10-02-2009, 20:00
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?