random(a,b,c)
|
Group |
Returns a random number (Double or Integer in dependence to c) between the lower value a (inclusive) and b (exclusive).
Description of Parameters
|
Parameter |
Description |
|
a |
Min. range (inclusive). |
|
b |
Max. range (exclusive). |
|
c |
(optional) true if an integer value should be returned instead of a double value. Default: false |
Examples
|
Parameter a |
Parameter b |
Parameter c |
Result |
|
0 |
10 |
Double between 0 (inclusive) and 10 (exclusive). |
|
|
0 |
10 |
false |
Double between 0 (inclusive) and 10 (exclusive). |
|
0 |
10 |
true |
Integer between 0 (inclusive) and 10 (exclusive). |