i seareched the word but i cald't find something i want to use a number high another number who to do that?
procedure TForm1.buttoncalculateClick(Sender: TObject);
var zahl1, zahl2, zahl3, zahl4,
sum1 : real;
sum2 : real;
begin
zahl1 := strtofloat(editkapital.text);
zahl2 := strtofloat(editjahre.text);
zahl3 := strtofloat(edittage.text);
zahl4 := strtofloat(editzins.text);
sum1 := zahl2 * 360 + zahl3;
sum2 := zahl1 * "here i wanna have the potenz"
labelsum.caption := floattostr(sum2);
end;
so zahl1 thats my capital, zahl2 the days, zahl3 the years and zahl4 the interest.
and this is the formula i want to use: zahl1 * (1 + zahl4 / 100)^(sum1 / 360).
i wanna use that to calculate interests
Please help me Sven