I'm using scanf to read floats from input and want to put in error handling to detect when the user is inputting something that isn't a number (that is, a string). When I type in a string, it seems to make a float that is a very tiny number that is close to, but not equal to, 0. The problem is that if I try to account for this by saying floor(inputvariable) can't equal 0, then I can't input a float that's between 0 and 1. What can I do to handle this error?