• Calculates n rounded down to precision.

    Parameters

    • n: number

      The number to round down.

    • Optionalprecision: number

      The precision to round down to.

    Returns number

    Returns the rounded down number.