Generate a random floating-point number within a specified range.
The minimum value of the range.
The maximum value of the range.
A random floating-point number within the specified range.
const randomFloat = RNG.float(0, 1);console.log(randomFloat); // Output: e.g., 0.12345 Copy
const randomFloat = RNG.float(0, 1);console.log(randomFloat); // Output: e.g., 0.12345
Generated using TypeDoc
Generate a random floating-point number within a specified range.