From: Farrel Lifson Date: 2008-05-08T17:17:24+09:00 Subject: Re: to check for numericality @val = someValue if ( Integer( someValue) rescue Float( someValue ) rescue false) 2008/5/8 Sijo Kg : > Hi > I have > @val=SomeValue #for example 00,02,aa > How can I check @val contains only numeriacal(including zero) > values..I have to avoid aa above (for example ) > > Sijo > -- > Posted via http://www.ruby-forum.com/. > >