in reply to check if its a number

Why don't you want to use regular expressions?

Here's an extensive discussion on checking whether a string represents a number: link removed due to copyright concerns.

Replies are listed 'Best First'.
Re^2: check if its a number
by marto (Cardinal) on Apr 12, 2008 at 07:57 UTC
    Is this link legitimate? Looks like they make a lot of ebooks by many different publishers available on their website, including some texts written by some of the users of this site.

    Martin

      It's not; I reported it to infringement@oreilly.com.