Rnd Function
Syntax Rnd([Num])
Group Math
Description Return a random number greater than or equal to zero and less than one.
Parameter Description
Num See table below.
Num Description
<0 Return the same number every time, using Num as the seed.
>0 Return the next random number in the sequence.
0 Return the most recently generated number.
omitted Return the next random number in the sequence.
See Also Randomize.
Example
'#Language
"WWB-COM"
Sub Main
Debug.Print Rnd() ' 0.??????????????
EndSub