public static object ConvertBigIntToComplex(object value) { BigInteger bi = (BigInteger) value; return new Complex(bi.ToFloat64()); }