From: Robert Klemme Date: 2006-04-14T18:44:48+09:00 Subject: Re: Strange Integer() behavior 2006/4/14, Patrick Joyce : > Thank you both for the quick answer. > > In hindsight, the issue is so obvious, I'm almost sorry for wasting your > time. Guess the brain was fried after 9-5 coding at the day job and 8PM > - 3 AM on my own thing. > > I guess the project for tomorow is to figure out where that "039" is > coming from in the Mechanize parser. Well, if you want to use Integer then the obvious fix is to do str.sub /^0+/, '' > Thanks again for the quick response I don't think I would have been able > to go to sleep otherwise. :-) Cheers robert -- Have a look: http://www.flickr.com/photos/fussel-foto/