From: sto.mar@... Date: 2012-12-22T17:45:36+09:00 Subject: Re: simple division: -9 / 5 = -2 what? Am 22.12.2012 07:11, schrieb rubyinfo: > I believe ruby followed c in the convention of integer/integer => integer > so you get 9/5 => 2 No, 9 / 5 => 1 ! Integer division with quotient 1, remainder (modulus) 4. > Another way of indicating float literals is by putting 9.0 / 5.0 > > dave --