当我在 Applescript(或其他语言)中使用此代码时:
set var1 to "0.00"
set var2 to "50.86"
set var3 to "1335.56"
set var4 to "60.72"
set netto to "1447.14"
set sub_totaal to var1 + var2 + var3 + var4
set sub_dif to sub_totaal - netto
答案是:-2.27373675443232E-13
为什么?