0
Q:

convert string to float c

char myString = "6.88";
float x = atof(myString);
//x is now 6.88
2

New to Communities?

Join the community