From: Dark Ambient Date: 2006-06-26T05:37:20+09:00 Subject: Re: help please: math or variable problem ------=_Part_56917_24894313.1151267837299 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I agree and even found this: http://twt.mpei.ac.ru/MAS/Worksheets/Rim_Arab_Number.mcd which is a arabic -> roman numeral calculator. However I'm learning to program, and in Ruby and this is an assignment from the book. So, yes, ultimately the only value is in helping me to think these types of problems through. I'm afraid to look at rubyquiz as it might be cheating. I'd like to see first how creative I can get before comparing. Regardless thank you for making me aware of it. Stuart On 6/25/06, Ola Bini wrote: > > Take a lock at Ruby Quiz #22 for a bunch of solutions to this problem. > Why solve something that's already been done a hundred times? =) > > http://www.rubyquiz.com/quiz22.html > > Regards > Ola Bini > http://ola-bini.blogspot.com > > > ----- Original Message ----- > From: Dark Ambient > Date: Sunday, June 25, 2006 10:11 pm > Subject: Re: help please: math or variable problem > To: ruby-talk@ruby-lang.org (ruby-talk ML) > > > Ah ha! Well back to the drawing board. :) > > > > Stuart > > > > On 6/25/06, dda wrote: > > > > > > On 6/25/06, Dark Ambient wrote: > > > > Anyway, down below I'm taking a number between 10 and 49 and > > converting> to a > > > > Roman Numeral. I've been experimenting with 46, which should > > return> XXXXVI > > > > only it's returning XXXXVIIIII > > > > > > No. It should return XLVI [10 to 50, 5, 1]. > > > > > > X, XX, XXX, XL, L, LX, LXX, LXXX, XC etc... > > > > > > -- > > > Didier > > > > > > > > > > ------=_Part_56917_24894313.1151267837299--