From: Daniel Harple Date: 2006-04-28T06:58:00+09:00 Subject: Re: is_number function ? On Apr 27, 2006, at 11:56 PM, Todd S. wrote: > Is there a function in core ruby to determin if a variable is a number > or not? > > something like @XX.is_numeric? or is_number(@XX) 1.is_a?(Numeric) # => true -- Daniel