Witam. Pisałem mini kalkulator i napotkałem się na błąd:
[DCC Error] Unit3.pas(41): E2250 There is no overloaded version of 'FloatToStr' that can be called with these arguments
To mój kod:
procedure TForm3.bDodajClick(Sender: TObject);
var
a,b,wynik: real;
begin
a:=StrToFloat(eLiczbaA.Text);
b:=StrtoFloat(eLiczbaB.Text);
wynik := a+b;
eWynik.Text := FloatToStr (eWynik.Text);
end;
end.