From: William Crawford Date: 2006-08-19T02:06:03+09:00 Subject: Re: Bug in sprintf? William Crawford wrote: > William Crawford wrote: >> Wes Gamble wrote: >>> I assume it's because the 08 is being as an octal number prior to being >>> changed to a decimal. 01 - 07 work fine, 09 breaks. >> >> Because 8 isn't an octal number. 0-7 are octal. > > -slaps self- Think before you reply, William. > > On second thought, this -does- seem wrong. It doesn't matter if you > tell it to be decimal, octal or hex, it all comes up with an error on 08 > and 09, and not 00 to 07. Last time, I swear. http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/145509 Says that it IS trying to be octal because the 0 in front means that. (Why it means that, I don't know.) -- Posted via http://www.ruby-forum.com/.