From: Michael Tomer Date: 2008-11-21T23:13:01+09:00 Subject: Re: Syntax question from a newbie to Ruby >IIRC number is a String here so you must convert it to do integer math. Yes, you're completely right. I forgot he grabbed the variable from STDIN. -- Posted via http://www.ruby-forum.com/.