I\'m wondering what sort of algorithm could be used to take something like \"4.72\" into a float data type, equal to
float x = 4.72;
For C strtod() and C99 friends strtof() and strtold() (description on same link) already have that algorithm implemented.
C
C99
strtof()
strtold()
If you are having problems writing your own, post your code and specific questions about it.