Generates a random number between the specified minimum and maximum values (inclusive).

  • Parameters

    • min: number

      The minimum value for the random number.

    • max: number

      The maximum value for the random number.

    Returns number

    A random number between the specified minimum and maximum values.