Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate "annuity due" #68

Open
vettloffah opened this issue Jul 18, 2023 · 6 comments
Open

Calculate "annuity due" #68

vettloffah opened this issue Jul 18, 2023 · 6 comments

Comments

@vettloffah
Copy link

I need to get an amortization where the payment is made in the beginning of the pay period, not the end. This is known as an "annuity due".

If anyone knows how to modify the calculation to achieve that please let me know.

@kfiku
Copy link
Owner

kfiku commented Jul 19, 2023

Hello,
For now its not possible.
I will try to add this option to calculation and let you know.
Thanks,
Grzegorz

@kfiku kfiku closed this as completed in 72ad1a8 Jul 24, 2023
@kfiku
Copy link
Owner

kfiku commented Jul 24, 2023

Hi @vettloffah, please update to version 1.1.0 and than use

const annuityDueLoan = new Loan(1000, 12, 5, 'annuityDue');

please let me know if it's working for you

kfiku added a commit that referenced this issue Jul 25, 2023
@vettloffah
Copy link
Author

Hi @vettloffah, please update to version 1.1.0 and than use

const annuityDueLoan = new Loan(1000, 12, 5, 'annuityDue');

please let me know if it's working for you

Very cool thanks buddy I will try it out

@vettloffah
Copy link
Author

@kfiku I'm being told my our corporate accountant that the monthly installment amount is correct for the annuityDue option. However when calculating annuity due, the first payment should have $0.00 interest since the payment is made at the beginning of the billing period. Currently the software package is returning interest including in the first installment.

@kfiku
Copy link
Owner

kfiku commented Aug 18, 2023

Hello, Ok i will check it next week, Thanks for letting me know

@kfiku kfiku reopened this Aug 18, 2023
@kfiku
Copy link
Owner

kfiku commented Sep 21, 2023

@vettloffah can you show me an example of similar calculator online, because I can not find any similar examples. Its also interesting that "monthly installment amount is correct", now if I will make first installment with 0 interest rate, than all other installments will be changed.

Can you provide some proper example with all installments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants