Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

integer

Status
Not open for further replies.

jscorpion

Programmer
Nov 17, 2000
40
US
Could anyone suggest a quick way to check a users input to make sure that it is an integer. I was hoping there was a predefined function for this, but I can not find one. I would rather not use an error trapping check. So I would take any suggestions that anyone has.

Thank you,

jscorpion
 
There is a function called isnumeric which checks to see if the data is numeric but I think this includes decimal numbers. Also have a look at the CInt function. Mark

The key to immortality is to make a big impression in this life!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top