| As far as robustness and general utility goes, that solution works worse than his. The check here is if the text string is, to quote, "A text string, containing nothing but numbers. ", but text2num() will return a number even if that isn't so, as long as there's any number in the beginning of the string. Meaning your IsNum() will incorrectly return true if given a string like "1abcdefg". |
|