std:std.random.Rnd
Generates a random double value.
When used with no parameters, returns a random double value in the range 0 (inclusive) to 1 (exclusive).
When used with one parameter, returns a random double value in the range 0 (inclusive) to max
(exclusive).
When used with two parameters, returns a random double value in the range min
(inclusive) to max
(exclusive).
Parameters | |
---|---|
min |
min Minimum value to return. |
max |
max Maximum value to return. |