Support

Equilla Formula Language

Random

Returns a random real number between 0 and the expression.

Inputs

Expression
Numeric: If positive the upper limit of the returned random number, otherwise the lower limit.

Remarks

The number returned will be a real. To convert it to an integer number use the Int function.

Examples

Print an random integer between 0 and 10
Print( Int( Random( 10 ) ) );