Kod: Tümünü seç
var
a,b:real;
c:Currency;
begin
a:=strtofloat(para.Text);
b:=strtofloat(edit1.Text);
c:=a+b;
para.Text:=floattostr(c);
Kod: Tümünü seç
var
a,b:real;
c:Currency;
begin
a:=strtofloat(para.Text);
b:=strtofloat(edit1.Text);
c:=a+b;
para.Text:=floattostr(c);
Kod: Tümünü seç
para.text:=FormatFloat('#,##0.00',c);
Kod: Tümünü seç
strtofloatdef(para.text,0)