Number.RandomBetween
Επιστρέφει έναν τυχαίο αριθμό μεταξύ δύο αριθμών.
Syntax
Number.RandomBetween(
bottom as number,
top as number
) as number
Remarks
Επιστρέφει έναν τυχαίο αριθμό μεταξύ bottom και top.
Examples
Example #1
Λάβετε έναν τυχαίο αριθμό μεταξύ1 και 5.
Number.RandomBetween(1, 5)
Result:
2.546797
Category
Number.Random