var
a,b,c,d:double;
begin
a :=53;
b:=98.1;
c:=45.1;
d := a-b+c;
showmessage(floattostr(d));
end;结果显示:7.105427357601E-15,这是什么原因造成的呢?
a,b,c,d:double;
begin
a :=53;
b:=98.1;
c:=45.1;
d := a-b+c;
showmessage(floattostr(d));
end;结果显示:7.105427357601E-15,这是什么原因造成的呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货