in reply to Parameter validation for numeric function arguments?
See also: Numification of strings. A comparison of Perl, Ruby and Python in this area can be found in: Re^4: Numification of strings.