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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for