Rnd!

Category: Math

Back to System Functions


Signatures

Rnd!()
Rnd!(maxValue As Double)
Rnd!(minValue As Double, maxValue As Double)

Returns

Double

Description

Returns a pseudo-random Double value in a range.

With no arguments it uses 0.0 to 1.0. With one argument it uses 0.0 to maxValue. With two arguments it uses minValue to maxValue.

Example

x! = Rnd!(10.0, 20.0)