I need to validate user input from a Tedit. I need to make sure that a number is entered and not an alphabetic character or punctuation. Short of 52+ if statements, I can't seem to get a handle on it. I would also like to produce an error box if anything other than a number is entered. I am using C++ Builder 5. Since I perform math operations on the numbers I've already written the code to convert the text to float. Any help would sure be appreciated!