Add Math.randomrange()

Add Math.randomrange() function

Currently if i want a math.random between a range ill need to multiply it.
If this was implemented i could just do

Math.randomrange(min, max);
Math.range(min, max); //An alias for randomrange

This would make random numbers between a range (which i need a lot for games and such) MUCH easier to make and i don't need to define it every time.

1 Like

related: A more complete random API?