Std random rnd
std:std.random.Rnd
Function Rnd:Double( )#
Function Rnd:Double( max:Double )#
Function Rnd:Double( min:Double,max:Double )#
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. |