Funzione statica
Nativa
math.random
Generates pseudo-random numbers uniformly distributed
Non ancora tradotto
Sintassi
math.random(m, n)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
m
|
number | — | If m is the only parameter: upper limit. If n is also provided: lower limit. If provided, this must be an integer. |
n
|
number | — | Upper limit. If provided, this must be an integer. |
Valore restituito
- number