Im

Im[z]
returns the imaginary component of the complex number z.