Random number from an uniform distribution
runif max
(runif min max)
(runif min max n)
Returns a random number from the uniform distribution in the range <0.0; max) or
<min; max). If n is specified then n-element array of random numbers is returned.
Example:
print runif 10
print (runif 5 10)
Output:
2.51788283349848
7.32470105044763
See also:
Table of Content