This function returns the imaginary coefficient of a complex number.
IMAGINARY(complexnum)
The complexnum argument is a complex number for which to return the imaginary coefficient.
An error is returned if the complexnum argument is not in the form "x+yi" or "x+yj". For more information, refer to Complex Numbers.
Accepts number and string data. Returns number data.
IMAGINARY("3+5j")