Some time ago I got some help and the suggestion was given to use strtod to validate floating point input from a dialog box.
Validate Float Logic?
Now, I am well on my way writing this program when I realize that the user could very well wish to input zero and since the strtod function returns zero on failure this is probably not the best solution.
Why in the world would it return zero if zero could be a valid input? Am I missing the point?