Can't understand the behaviour of .to_i

Hmmmm, i see. Thanks a lot for your help!!!

···

--
Posted via http://www.ruby-forum.com/.