-
Notifications
You must be signed in to change notification settings - Fork 0
ds.random
metmajer edited this page Mar 16, 2013
·
3 revisions
The ds.random
module is a collection of random number generators.
rand([lower=0], [upper=1])
Generates a random number in the range [lower, upper).
-
Number [lower=0] The lower limit of the random number.
-
Number [upper=1] The upper limit of the random number (will not be included in the result).
- Number Returns the generated float random number.
-
Error Throws if
lower
is not a number. -
Error Throws if
upper
is not a number. -
Error Throws if
lower
is >=upper
.