注意指定精度,否則printf預設精確到小數點後六位. F, float(double), 與f格式相同,只不過infinity 和nan 輸出為大寫形式。 例如 printf("%f %F %f ...
確定! 回上一頁