From: Rajinder Yadav Date: 2009-12-26T00:51:23+09:00 Subject: Re: Newbie Question lalawawa wrote: > How do I turn the string "4.5" into the number 4.5 so I can do > arithmetic on it? > > irb(main):017:0> "4.5".to_f => 4.5 -- Kind Regards, Rajinder Yadav http://DevMentor.org Do Good! - Share Freely