instance method Complex#numerator

numerator -> Complex[permalink][rdoc][edit]

分子を返します。



Complex('1/2+2/3i').numerator # => (3+4i)
Complex(3).numerator          # => (3+0i)

[SEE_ALSO] Complex#denominator