Randomness API
SEED ()
Returns the random number seed.
SEED (n)
Sets the random number seed to n
and returns it.
RPCT ()
Returns a random decimal between 0 and 1, both inclusive.
RND (a)
Returns a random integer between 1 and a
, both inclusive.
RND (a,b)
Returns a random integer between a
and b
, both inclusive.
NORM ()
Returns a random decimal value from a normal distribution, with a standard deviation of 1 and a mean of 0.
NORM (s)
Returns a random decimal value from a normal distribution,
with a standard deviation of s
and a mean of 0.
NORM (s,m)
Returns a random decimal value from a normal distribution,
with a standard deviation of s
and a mean of m
.
PICK (...)
Returns a random element from a sequence of elements.