From: "ara.t.howard" Date: 2008-05-09T04:05:01+09:00 Subject: Re: to check for numericality On May 8, 2008, at 2:17 AM, Farrel Lifson wrote: > @val = someValue if ( Integer( someValue) rescue Float( someValue ) > rescue false) that is a bug: cfp:~ > ruby -e' p Integer( bug = nil ) ' 0 simply use 'Float(value) rescue false' a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama