标签:转换 使用 color std include ble 浮点 nbsp 字符串
#include <stdio.h>#include <stdlib.h>char *record; double re = atof(record);
使用 atof()函数即可。
C语言字符串类型转换为double浮点数类型
原文地址:https://www.cnblogs.com/ming-4/p/11736138.html