I am trying to test to see if a user entered a valid number into a text editor. (Should be a dollar amount.) The procedure that is triggered is using nan( to check. But virtually everything I enter returns false. A string of text returns false.
Can someone explain what is going on? A bug or I am misunderstanding something? Is there a better to test if an entry is a valid number?