I am trying to get a random number that is greater than a minimum value. Is there a way to do this?
Doing rand(min..max) gives a random number in a range (min < number < max), but I don't want to specify the maximum.
rand(min..max)
min
number
max
Aucun commentaire:
Enregistrer un commentaire