... 若是浮點數指定運算到整數,小數點以下自動忽略,這樣的型別轉換是由編譯器自動 ... double y; void setup() { Serial.begin(9600); x = 3/2; Serial.print("x="); ...
確定! 回上一頁