Not quite right, for a start this will determine that "0" is non-numeric.

Also, this will return true if the value is "123%n23".

CInt() will convert as much of the string to numeric as it can, and return it, silently ignoring the non-numeric parts.

A more accurate check might be:
Code:
If CStr($val)=CStr(CInt($val))



But you would have to deal with "" != "0", and things like "0001" would be deemed to be non-numeric.