I have the following code:
dim low, high
low = 2
high = 99
ran = Int((high - low + 1) * Rnd()) + low
The function gives me a random value between 1 and 100. However, I get duplicates...how do I adjust the code to get rid of the duplicate-problem?
The number does not necessarily have to be an integer.
Any ideas much appreciated!