C语言字符串类型转换为double浮点数类型

#include <stdio.h>
#include <stdlib.h>
char
*record; double re = atof(record);

使用 atof()函数即可。

posted @ 2019-10-25 08:42  小大大小  阅读(3452)  评论(0)    收藏  举报