Returns a random float number between the given minimum and maximum values.
randomFloat(0, 10); // 5.23randomFloat(0, 10, 4); // 5.2345 Copy
randomFloat(0, 10); // 5.23randomFloat(0, 10, 4); // 5.2345
min value
max value
the random float value
Returns a random float number between the given minimum and maximum values.
Example