Ruby 1.9.3 Reference Manual > All Libraries > Builtin Library > class Complex > /
self / other -> Complex
quo(other) -> Complex
商を計算します。
例:
Complex(10.0) / 3 # => (3.3333333333333335+(0/1)*i) Complex(10) / 3 # => ((10/3)+(0/1)*i)