# File lib/money/money/arithmetic.rb, line 176 def /(value) if value.is_a?(self.class) fractional / as_d(value.exchange_to(currency).fractional).to_f else raise TypeError, 'Can not divide by Money' if value.is_a?(CoercedNumeric) self.class.new(fractional / as_d(value), currency, bank) end end