📌  相关文章
📜  https: www.codegrepper.com search.php?q=convert%20string%20to%20float%20 - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:33.950000             🧑  作者: Mango

代码示例1
char myString = "6.88";
float x = atof(myString);
//x is now 6.88