試著突破低點,往高點邁進
char c[10] = "0.68"; double d = 0.0f; //char array to double d = atof(c); //clean char array memset(c, '\0', sizeof(c)); //double to char array sprintf(c, "%f", degrees); //output to display printf("%s\n", c);