I want to check if a string is a number with this code. I must check that all the chars in the string are integer, but the while returns always isDigit = 1. I don\'t know wh
if(tmp[j] >= '0' && tmp[j] <= '9') // should do the trick