The formula for getting a random number between two integers, let's say a and b, is to multiply Math.random() by the positive difference of a and b, then add the lower of the two.
You're using...
Type: Posts; User: snowguy13
The formula for getting a random number between two integers, let's say a and b, is to multiply Math.random() by the positive difference of a and b, then add the lower of the two.
You're using...