Use the new isDigit() function.