1684
1685
1686
1687
1688
1689
1690
1691
1692
|
# File 'lib/m500.rb', line 1684
def coerce(other)
if Natural === other or Counting === other or Zahlen === other
[Quotient(other,1),self]
elsif Fixnum === other
[other, self.to_f]
else
[Float(other),self.to_f]
end
end
|