syntax:functions:random
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
syntax:functions:random [2021/07/31 22:45] – craigt | syntax:functions:random [2021/08/11 15:31] – [Examples] craigt | ||
---|---|---|---|
Line 22: | Line 22: | ||
( random() * (10-1) ) +1 | ( random() * (10-1) ) +1 | ||
- | | + | or |
( random() * 9 ) +1 | ( random() * 9 ) +1 | ||
Line 38: | Line 38: | ||
=====Examples===== | =====Examples===== | ||
Extra spaces added for clarity. | Extra spaces added for clarity. | ||
- | random() | + | random() |
( random() * 10 ) +2 // | ( random() * 10 ) +2 // | ||
- | | + | |
+ | | ||
syntax/functions/random.txt · Last modified: 2021/10/15 14:56 by craigt