Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
rnd [2019/05/07 21:59] – created neils | rnd [2019/05/07 22:01] – neils | ||
---|---|---|---|
Line 10: | Line 10: | ||
* an integer between -32768 and +32767 | * an integer between -32768 and +32767 | ||
* a float between 0 and 1 | * a float between 0 and 1 | ||
+ | |||
+ | Example: | ||
+ | |||
+ | print " | ||
+ | if rnd() < 0 then print " | ||
+ |