Number.RandomBetween
Returns a random number between two numbers.
Syntax
Number.RandomBetween(
bottom as number,
top as number
) as number
Remarks
Returns a random number between bottom
and top
.
Examples
Example #1
Get a random number between 1 and 5.
Number.RandomBetween(1, 5)
Result:
2.546797
Category
Number.Random