between(min, max) → {number}
Returns a number between the min
and max
values.
Parameters
Name | Type | Description |
---|---|---|
min | number | The minimum value. Must be positive, and less than 'max'. |
max | number | The maximum value. Must be position, and greater than 'min'. |
Returns
number -
A value between the range min to max.
- Source code: math/Math.js (Line 26)
Please login to continue.