From: Jim Freeze Date: 2001-03-20T11:34:10+09:00 Subject: [ruby-talk:12899] Re: differences between range and array On Tue, 20 Mar 2001, Hee-Sob Park wrote: > I think it's difference in operator precedence. > > Try following code: > > p (2.4/0.2).to_i # -> 12.0 > p ((2.4/0.2).to_i) #-> 11 > Can you explain this? I would call this a bug. (x) != x ??? ========================================================= Jim Freeze jim@freeze.org --------------------------------------------------------- No comment at this time. http://www.freeze.org =========================================================