MongooseA living laboratory of myriad worlds.

All help topics · Link to this topic

Showing help on 'frandom()'

Syntax: frandom (FLOAT <mod1> [, FLOAT <mod2>]) => FLOAT

If only one argument is given, a floating point number is chosen randomly from the range `[1.0..<mod1>]` and returned. If two arguments are given, a floating point number is randomly chosen from the range `[<mod1>..<mod2>]`.