"000000100".to_i.to_s # => 100
-- 
Posted via http://www.ruby-forum.com/.