Version Française

Calculateur de versements hypothécaires canadien

Written by David Grégoire | 16 November 2010

Voilà:

function paiements(AnnualIntRate, Period, Amount, PPay){
PrValue = Amount;
IntRate = (Math.pow((1+AnnualIntRate/2),(2/PPay)) - 1)

Pa = (PrValue * IntRate) / (1 - Math.pow (1 + IntRate, - (Period * PPay)))
return Pa;
}

aux deux semaines
console.log(paiements(0.045, 25, 325000, 24));

au mois
console.log(paiements(0.045, 25, 325000, 12));

accéléré deux semaines
console.log(paiements(0.045, 25, 325000, 26));

par semaine
console.log(paiements(0.045, 25, 325000, 52));

Tags: calculatrice hypothécaire, hypothèque, java, versements hypothécaires,

Category: Free stuff

Address of this article : http://sparko.ca/t0

Share:

Comments

No comments at this time

Write a comment

Your message 7 + 4 = ?