應該就會印成0.00999999 原因是預設列印是輸出小數後6 位數進行 ... 較多,確實 有些compiler 在float 運算時會先偷轉double 再放到float,如BCB ...
www.ptt.cc