-
Notifications
You must be signed in to change notification settings - Fork 1
Seed
ricardoboss edited this page Sep 13, 2023
·
1 revision
The seed
function initializes the random number generator.
seed(number seed)
-
seed
is the seed value to use. It must be an integer.
- the seed value is used to initialize the random number generator (see
random
)
seed(123456789)
println(random()) // 0.5083497583439339
© 2023 Ricardo Boss • Licensed under MIT • Want to update this page? Edit it on GitHub and submit a pull request!