loan-calculate
v1.0.0
Published
Calculate monthly and total loan payments
Downloads
9
Maintainers
Readme
loan
Loan calculate function in JavaScript.
Example
const resultLoan = calculateLoan({
installment: 12,
amount: 10000,
interestRate: 2.5,
bsmvRate: 0.1,
kkdfRate: 0.15
})
console.log(resultLoan);
/* { monthlyPayment: 1012.131749839122, totalPayment: 12145.580998069465 } */