method

imag

Importance_1
imag() public

Returns the imaginary part.

Complex(7).imaginary      #=> 0
Complex(9, -4).imaginary  #=> -4
Show source
Register or log in to add new notes.