- 链接地址:https://blog.csdn.net/xuefu2008/article/details/4646127#comments_14014507
- 链接标题:C语言中atof函数功能及用法-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:7435
文章浏览阅读2.5w次,点赞4次,收藏23次。函数名: atof 功 能: 把字符串转换成浮点数 用 法: double atof(const char *nptr); 程序例: #include #include int main(void) { float f; char *str = "12345.67"; f = atof(str); printf("string = %s float = %f_atof函数
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除
标签:atof函数