between(min, max) → {number}
Returns a random integer between and including min and max.
This method is an alias for RandomDataGenerator.integerInRange.
Parameters
Name | Type | Description |
---|---|---|
min | number | The minimum value in the range. |
max | number | The maximum value in the range. |
Returns
number -
A random number between min and max.
- Source code: math/RandomDataGenerator.js (Line 198)
Please login to continue.