L
laura.paterson
Hi,
I have looked in the existing posts to try to find the solution to
this, but cannot find an answer...
I want to be able to create a random number within a certain range,
that may be partially or entirely negative, i.e. between 17 and 25, -17
and 25, -25 and 25... etc.
I have found various solutions using Math and Random, which would work
if both limits are either positive or negative, or if they are the same
distance form the origin, ie. -25, 25... but nothing that will work for
all range possibilities.
Any help will be much appreciated!
Thanks,
Laura
I have looked in the existing posts to try to find the solution to
this, but cannot find an answer...
I want to be able to create a random number within a certain range,
that may be partially or entirely negative, i.e. between 17 and 25, -17
and 25, -25 and 25... etc.
I have found various solutions using Math and Random, which would work
if both limits are either positive or negative, or if they are the same
distance form the origin, ie. -25, 25... but nothing that will work for
all range possibilities.
Any help will be much appreciated!
Thanks,
Laura