Subject: Re: Syntax question from a newbie to Ruby
From: Michael Tomer <michael.tomer fnis.com>
Date: Fri, 21 Nov 2008 23:13:01 +0900
References: 320553320557320559320598320777320835
In-reply-to: 320835
>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/.