Hallo,
Was heisst "falsche Werte"? Gib mal Beispielwerte an
loan = 100;
rate = 0.1; // 10%
terms = 3; // for 3 years
cperiod = 2; // half-yearlyergibt bei mir z.B. Gesamtzinsen von 34.01
Das stimmt doch, wenn bei 10% Jahreszins halbjährlich verzinst wird.
year period interest value
1 1 5 105
1 2 5,25 110,25
2 3 5,5125 115,7625
2 4 5,788125 121,550625
3 5 6,07753125 127,6281563
3 6 6,381407813 134,0095641
sum 34,00956406
viele Grüße
Axel