Number.RandomBetween

Sintassi

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

Informazioni su

Restituisce un numero casuale compreso tra bottom e top.

Esempio 1

Ottenere un numero casuale compreso tra 1 e 5.

Utilizzo

Number.RandomBetween(1, 5)

Output

2.546797