math docs
    Preparing search index...

    Function float

    • Returns a random float in the range [min, max).

      Parameters

      • random: RandomGenerator

        the random generator to use

      • min: number

        the minimum value (inclusive)

      • max: number

        the maximum value (exclusive)

      Returns number