/**
* Returns a random number between min (inclusive) and max (exclusive)
* Returns a random number between min (inclusive) and max (exclusive)
*/
*/
function getRandomArbitrary(min, max) {
return Math.random() * (max - min) + min;
}
Random number in range
Get a random number specifying the minimum number and the max one.
0 Comments
Add Comment
Log in to add a comment