Function randomFloat

Returns a random float number between the given minimum and maximum values.

  • Parameters

    • min: number

      min value

    • max: number

      max value

    • decimals: number = 2

    Returns number

    the random float value