C语言字符串类型转换为double浮点数类型 #include <stdio.h>#include <stdlib.h>char *record; double re = atof(record); 使用 atof()函数即可。