Rnd

Can't say it's a bug but I feel like reporting it in this section.
I have noticed it before.....
The last number of Rnd parameter is never generated;

number = Rnd(0,3)
Msgbox(number)

3 is never generated.
 

specci48

Well-Known Member
Licensed User
Longtime User
The last number of Rnd parameter is never generated

This is exactly the expected behavior.:)

Excerpt form the help file:
Generates a random integer larger or equal to the minimum value and smaller than the maximum value.



specci48
 
Top