Answers for "https://www.codegrepper.com/search.php?q=convert%20string%20to%20float%20c"

C
5

https://www.codegrepper.com/search.php?q=convert%20string%20to%20float%20c

char myString = "6.88";
float x = atof(myString);
//x is now 6.88
Posted by: Guest on February-20-2020

Code answers related to "C"

Browse Popular Code Answers by Language