为什么运行结果小数末位是.00001?
#include <stdio.h> extern float getFee(float Num, float Clk) { float Fee=0; if ((Clk >= 23 && Clk <= 24) || (Clk <= 5 && Clk >= 0)) { if (Num>3) { Fee = 13 + 2.3*1.2*(Num - 3) + 1; return Fee; } else return 13 + 1; } else { if (Num>3) { Fee = 13 + 2.3*(Num - 3) + 1; return Fee; } else return 13 + 1; } } int main() { printf("小明早上打车花费%f元\n", getFee(12, 9)); printf("小明晚上打车花费%f元\n", getFee(12, 18)); printf("小明每天打车费用为%f元\n", getFee(12, 9) + getFee(12, 18)); return 0; }