method

imaginary

Importance_1
imaginary() public

Returns the imaginary part.

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