• Calculates n rounded up to precision.

    Parameters

    • n: number

      The number to round up.

    • Optionalprecision: number

      The precision to round up to.

    Returns number

    Returns the rounded up number.