Rounds a given number to the next lowest value.

  • Parameters

    • input: number

      The number to round.

    • fractionDigits: number = 0

      The amount of digits to retain in the fraction.

    Returns number

    The rounded number.