From: lalawawa Date: 2009-12-26T01:00:06+09:00 Subject: Re: Newbie Question On Dec 25, 10:51 am, Rajinder Yadav wrote: > 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 Thanks Rajinder, that did it!