public char ToChar(IFormatProvider provider) { int ret; if (AsInt32(out ret) && (ret <= Char.MaxValue) && (ret >= Char.MinValue)) { return (char)ret; } throw new OverflowException(MathResources.BigIntWontFitChar); }