Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by XPLOSIV,
11. Sep 2008
Nun hab ich es so:
a := StrToFloat(Edit6.Text); b := StrToFloat(Edit7.Text);
s := a + b;
Edit7.Text := StrToFloat(s);
Wenn ich es nun compilieren will kommt: "Inkompatible Typen: 'Integer' und 'Extended'"
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by XPLOSIV,
11. Sep 2008
Ich habe zwar per Suche diesen Thread gefunden aber da werd ich nicht richtig schlau draus.
Ich würde gerne den Inhalt eines Edit Feldes mit dem eines anderen Edit Feldes addieren, leider spuckt es eine Fehlermeldung aus wenn ich Kommazahlen addieren will, liegt wohl daran dass es kein String ist.
So schaut das ganze aus:
a := StrToInt(Edit6.Text); b := StrToInt(Edit7.Text);
s := a +...