-
-
Notifications
You must be signed in to change notification settings - Fork 30
Random
Arthur Guiot edited this page May 25, 2018
·
1 revision
TheoremJS can generate random numbers between 0 and 1:
t.rand() // Similar to Math.random() => BigNumber
t.rand(2) // 2 random numbers => [BigNumber]
t.rand(1, true) // Cryptographically secure random number => BigNumber or [BigNumber]
Any questions? Don't hesitate to create an issue and tell me about your problem 😊.
Copyright © 2017-2018 Arthur Guiot