From: Charlie Ca Date: 2010-03-12T03:12:40+09:00 Subject: Re: convert s to i, then + 1 this is the code I use; puts 'Whats your favorite number?' num = gets puts (num.to_i + 1).to_s + ' is my favorite number. It one ups your fav!' Simple and Straightforward. I attached it to. Attachments: http://www.ruby-forum.com/attachment/4567/Numfav.rb -- Posted via http://www.ruby-forum.com/.