Atof converts strings to floating-point types.
Atol converts a string into a long integer.
The rule is to start with the first 0-9 character and end with the first non-0-9 character.