In a project of mine for the web, I ask the user to input a number into an Input Text box, which I then store as a variable, call it inputText. If the user inputs a string of letters or anything that is not a number, I want display “Please enter a number.” I’ve looked far and wide and can’t find a way to check whether the text input by the user (a variable) is a number or not. Any help would be well appreciated.
Thanks and cheers,
Steve