Im
Im[z] gives the imaginary part of the complex number z.
Examples
Get imaginary part:
Im[3 + 4 I]
(* 4 *)Imaginary part of real number:
Im[5]
(* 0 *)Something isn't working? Report an issue.
Please visit the official Wolfram Language Reference for more details.