From: Phillip Gawlowski Date: 2010-01-02T11:13:47+09:00 Subject: Re: Rounding float in ruby via .round On 02.01.2010 02:43, Marc Heiler wrote: > .round does not want arguments. Is there a reason why not? Hmmm.. irb(main):001:0> RUBY_VERSION => "1.9.1" irb(main):002:0> 3.14567534.round => 3 irb(main):003:0> 3.14567534.round 3 => 3.146 irb(main):004:0> 3.14567534.class => Float Which Ruby are you on? -- Phillip Gawlowski