Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Random number generator help (http://www.chiefdelphi.com/forums/showthread.php?t=74110)

Wayte 10-02-2009 19:33

Random number generator help
 
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

Re: Random number generator help
 
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?


All times are GMT -5. The time now is 10:32.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi