double atof ( const char * str );. ex: char buffer[] = "2.675"; double f = atof(buffer);. 2. atoi:將字串轉為整數.
確定! 回上一頁