• Get a random float in the range 0 to less than max (inclusive of 0, but not max).

    Parameters

    • max: number

      The maximum value (exclusive).

    Returns number