I beleive what your looking for is the isnumeric() function.