|XP is just a number|
How to determine if something is numeric?by mifflin (Curate)
|on Jan 30, 2004 at 19:13 UTC||Need Help??|
mifflin has asked for the wisdom of the Perl Monks concerning the following question:
I need to determine if something is numeric.
By numeric I mean...
1. no alpha
2. no leading zeros ( 0001 or -0001 needs to be considered not-numeric)
here is what I came up with
Is this considered the right way to go about it? Is there a better way?