W
warket
Unregistered / Unconfirmed
GUEST, unregistred user!
随便弄一个按钮写下如下的代码,显示出来的答案你可能都想不到!
var
t1,t2,t3:real;
begin
t1:=6.6;//strtofloat(edit1.Text);
t2:=7.1111;//strtofloat(edit2.Text);
t3:=t2-t1;
edit3.Text:=floattostr(t3);
var
t1,t2,t3:real;
begin
t1:=6.6;//strtofloat(edit1.Text);
t2:=7.1111;//strtofloat(edit2.Text);
t3:=t2-t1;
edit3.Text:=floattostr(t3);