randf() function

Returns a random float within the range specified by the minimum and maximum argument (inclusive).
This function takes two arguments.

Syntax

randf(min, max)

Arguments

min - a float representing the smallest possible random number desired.
max - a float representing the largest possible random number desired.

Example

randf(1, 10) → 4.59258286403147