Number.RandomBetween

Syntax

Number.RandomBetween(bottom as number, top as number) as number

About

Returns a random number between bottom and top.

Example 1

Get a random number between 1 and 5.

Usage

Number.RandomBetween(1, 5)

Output

2.546797