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

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

使用 atof()函数即可。

猜你喜欢

转载自www.cnblogs.com/ming-4/p/11736138.html
今日推荐