From: Jano Svitok Date: 2008-09-10T22:34:25+09:00 Subject: Re: Please explain that On Wed, Sep 10, 2008 at 15:24, Jan Pilz wrote: > Can you please explain this behaviour ? > > irb(main):017:0> 071.to_s > => "57" > irb(main):018:0> 71.to_s > => "71" > > Why is an octal Number converted to decimal when outputted as String ? It's not an octal number anymore when it's parsed. It's just a number.