I want to generate a random number between 2 values,example:- between 1 and 60
But the number should not be a float number and I want that probability of selection of all numbers is exactly equal
Develop games in your browser. Powerful, performant & highly capable.
This will return a random integer number between 1 and 60:
int(random(1,61))
Note, that the second number is 61, not 60. Also, don't use round() expression with random, as it will produce uneven results.
Don't forget permutation tables in the Advanced Random plug.
Thanks for the reply ❤️