syntax:functions:random
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
syntax:functions:random [2021/07/31 22:45] – craigt | syntax:functions:random [2021/08/11 15:30] – [Generating random numbers within a given range] craigt | ||
---|---|---|---|
Line 22: | Line 22: | ||
( random() * (10-1) ) +1 | ( random() * (10-1) ) +1 | ||
- | | + | or |
( random() * 9 ) +1 | ( random() * 9 ) +1 | ||
syntax/functions/random.txt · Last modified: 2021/10/15 14:56 by craigt