0
rated 0 times
[
7]
[
7]
/ answers: 1 / hits: 18505
/ 9 Years ago, wed, may 27, 2015, 12:00:00
Is it possible to get a random number between 1-100 and keep the results mainly within the 40-60 range? I mean, it will go out of that range rarely, but I want it to be mainly within that range... Is it possible with JavaScript/jQuery?
Right now I'm just using the basic Math.random() * 100 + 1
.
More From » algorithm