public decimal ToDecimal(IFormatProvider provider) { decimal ret; if (AsDecimal(out ret)) return ret; throw new OverflowException(MathResources.BigIntWontFitDecimal); }