Brass Core Plugins

rand

Returns a random number between range specified.

Syntax

rand(min, max)
rand()
rand(max)

Remarks

rand() returns a floating-point value between 0 and 1; rand(max) and rand(min, max) both return integral values.

The random number generator is seeded to 0 at the start of each pass.

See Also