Actually now I'm confused... Where can I use strtol? And strtod?
Suppose that I have a strange string (from a file etc), then I want to parse it. The hard problem is, how to detect value type of a string number correctly. Integer? Double? Float? Hex? etc...
Here's an example :