Returns a random float in the range [min, max).
the random generator to use
the minimum value (inclusive)
the maximum value (exclusive)
Returns a random float in the range [min, max).