Generates a random floating-point number between the given min (inclusive) and max (exclusive).
The minimum value (inclusive). Defaults to 0.
The maximum value (exclusive). Defaults to 1.
A random float between min (inclusive) and max (exclusive).
random(1, 5); // Might return 3.1415 Copy
random(1, 5); // Might return 3.1415
Generates a random floating-point number between the given min (inclusive) and max (exclusive).