Skip to content

Im

Returns the imaginary part of a number. For real numbers, returns 0.

$ wo 'Im[5]'
0
$ wo 'Im[3.14]'
0
$ wo 'Im[3 + 4*I]'
4