now identifies if a given fgets is a number