Converting pointer to float.

I've assigned a number into character pointer:

1
2
3

char* strNumSet = "12.33";


I want to convert pointer strNumSet into float. What is the correct way to do this?

Kindly thanks for any suggestion and help.
Last edited on
See here for some ways: http://www.cplusplus.com/articles/numb_to_text/
( replace int with float or double where needed )
Topic archived. No new replies allowed.