calcul amortissement sur 365 jours
This commit is contained in:
parent
99aa29a4a1
commit
f533118360
2 changed files with 2 additions and 2 deletions
|
|
@ -234,7 +234,7 @@ function computeAmort() {
|
|||
duree_amort = Number(elem.innerText.replace(/ .*/, ''));
|
||||
}
|
||||
const annuite = montantImmo / duree_amort;
|
||||
const amort_comp = annuite / 360 * nbDays;
|
||||
const amort_comp = annuite / 365 * nbDays;
|
||||
console.log("durée amort = " + duree_amort + ", annuité=" + annuite + ", amort comp = " + amort_comp);
|
||||
}
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue