how do atof, atoi, and atol work?
I am trying to figure this out because I've noticed that sometimes when converting a string to a float, it messes up the number. For instance: I convert the string "33414132431.2" to a float (atof), and it turns the resulting value in to 33414132431.200001
This is NOT a good thing when you are trying to compare two results together, and they aren't the same because they have a messed up end value.....
I'm wondering if maybe it's just because I'm causing an overflow with a number that big.........well, just looking for some advise, no flaming.