Home > rc-js-util > mathBoundRandom
Create a random value between min and max.
Signature:
export declare function mathBoundRandom(min: number, max: number): number;
Parameter | Type | Description |
---|---|---|
min | number | |
max | number |
Returns:
number
NaN input will cause a debug error. Max greater than min will cause a debug error.
See mathBoundRandom().