First time here? Check out the FAQ!
answered 2012-02-19 00:45:36 +0100
.real() for real part .imag() for imaginary part
For eg.
(3+i*4).real()=3 (3+i*4).imag()=4