Difference between revisions of "GetRandomPercent"
Jump to navigation
Jump to search
no edit summary
imported>JOG (The short vs. floats behavior is covered in set not random functions) |
imported>JOG |
||
|
short dice
set dice to 1 + 0.06 * GetRandompercent ; => 1 to 6 (5.94 is truncated to 5)
short rnd
set rnd to 5.0/99 * Getrandompercent ; => 0 to 5
float rnd
float rnd
set rnd to 5/99 * Getrandompercent ; => 0.00 to 5.00
[[Category: Functions]]
| |||