Have sepperate functions for numeric vs stringy tests, then. The answer to "is 03 the same as 3" depends on intentions, and not any occult flags of the 3.0 and the 3 that your program could concivably read.
In reply to Re^3: Testing For Numberness Vs Stringness
by theorbtwo
in thread Testing For Numberness Vs Stringness
by BrooklineTom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |