From: William Crawford Date: 2006-08-19T02:06:01+09:00 Subject: Re: Bug in sprintf? 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. -- Posted via http://www.ruby-forum.com/.