Rand
Category: Math
Signatures
Rand(maxValue As Integer)Rand(minValue As Integer, maxValue As Integer)
Returns
Integer
Description
Returns a pseudo-random Integer in an inclusive range.
With one argument it uses 1 to maxValue. With two arguments it uses minValue to maxValue.
Example
dieRoll = Rand(1, 6)