QueueTip #004 - Ranged Random Number Generation

Did you know…
In one line of code in conjunction with the Math.random() method, you can generate a ranged random number as illustrated below:
Math.random() * ( max - min ) + min;

This will generate a random float between the values “min” and “max”