Clarified and added some info.
commited
commit
76ba376cc45e59c3606c0ad0a45d51a6b322738d
... | ... | @@ -13,8 +13,9 @@ Outputs: |
13 | 13 | |
14 | 14 | ## Notes |
15 | 15 | - The Min input is included while the Max input is *excluded*, meaning: if the min and max inputs are 0 and 5 respectively, it may generate a number within 0 to 5, possibly 0, but never 5. |
16 | - The random block will not stop selecting numbers unless you wire a [[Play Sensor]] block. |
|
16 | - The random block will generate a new value every time it is executed. To reuse the same random value, it should be stored in a variable. |
|
17 | 17 | - Note that the output would be in decimal, to avoid this use [[floor]], [[ceiling]], or [[round]] operators. |
18 | - The random block behaves inconsistently when used with [[wire splits]]. [[/uploads/inconsistent-random.jpg]] |
|
18 | 19 | |
19 | 20 | ## Examples |
20 | 21 |