Hi,
I am programming a pos terminal by using C Programming language. I cannot use strtod() or atof (since it just calls strtod in it).
Any advices on converting string to double without using these functions?
Well, use sscanf.
I think it's an incorrect question. Why pos terminal control program can't use strtod? Is it possible to use sscanf? Or you MUST write C-string to double conversion code from the scratch? If so, it's the other story...
Reputation Points: 1234
Solved Threads: 347
Postaholic
Offline 2,001 posts
since Jul 2008