From: Robert Dober Date: 2008-05-08T21:06:44+09:00 Subject: Re: to check for numericality On Thu, May 8, 2008 at 10:43 AM, Colin Bartlett wrote: > In this situation is there any advantage to testing for "Integer" first, > instead of just using > newval = someValue if ( Float( someValue ) rescue false ) > Sure is ;) you will know that it is an Integer. But I guess you do not care, in that case no, just go for the Float() rescue idiom. HTH Robert