From: Gavin Kistner Date: 2006-11-18T03:23:17+09:00 Subject: Re: ruby equivalent PHP function is_numeric? From: jason.dusek@gmail.com [mailto:jason.dusek@gmail.com] On > It really is too bad that String.to_f does not throw an exception - or > at least return NaN - when the string is not a number. Float( mystring ) does raise an exception, however.