lcm(other) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/complex.rb, line 431
    def lcm(other)
      if self.zero? or other.zero?
        0
      else
        (self.div(self.gcd(other)) * other).abs
      end
    end
Register or log in to add new notes.