Link to home
Get AccessLog in
Avatar of thunderchicken
thunderchicken

asked on

integer or float or string?

This is probably as easy of a question as they come, but how do you determine weather a user has entered an integer, float or a string?  For example, you check the value of a textbox and you want an integer, so if a user enters, "five" or 5.0, it will be wrong, what are three conditionals I can use to determine the data's validity?

I want to do this while not looking at the string with InStr or Mid()
Avatar of thunderchicken
thunderchicken

ASKER

I guess something I am looking for is like an isInteger(), isFloat() function.
ASKER CERTIFIED SOLUTION
Avatar of lochiano
lochiano

Link to home
membership
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access
Comment accepted as answer
That's enough to get me going, thanks!