Switch to English
( Blog «versements hypothécaires»)

Calculateur de versements hypothécaires canadien

Écrit par David Grégoire | 16 novembre 2010 | 0

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,

Catégorie: Gratuit

Partager: