Simplified the TextIsNumeric function