Re: Random number generator

DelphiLand FAQ

Posted by Nelson :

In Reply to: Random number generator posted by BeckyR:

: I want to generate random numbers but I need to set the range to start at 1000000000 instead of 0. Is there a way the starting number can be set?

Random function
Gives a number generated between 0 and 1
Ex. 0.896743 , 0.773420
Random(100000000)+1 , will give number like
34678995 , ie. number between 1 and 1000000000.

DelphiLand FAQ