-
Notifications
You must be signed in to change notification settings - Fork 1
Random
ricardoboss edited this page Sep 13, 2023
·
1 revision
The random
function returns a random number between 0 and 1.
random()
- returns a random number between 0 and 1
- the generated number is:
- evenly distributed
- not cryptographically secure
- not guaranteed to be unique for every call
- you can use the
seed
function to seed the random number generator
random() // 0.123456789
© 2023 Ricardo Boss • Licensed under MIT • Want to update this page? Edit it on GitHub and submit a pull request!