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

Rounding the monthly repayment amount to the next full currency unit needs to be optional #31

Open
bosue opened this issue Sep 18, 2023 · 0 comments · May be fixed by #36
Open

Rounding the monthly repayment amount to the next full currency unit needs to be optional #31

bosue opened this issue Sep 18, 2023 · 0 comments · May be fixed by #36
Labels
bug Something isn't working

Comments

@bosue
Copy link
Contributor

bosue commented Sep 18, 2023

In the most basic case of a term loan, with a repayment Monthly as per repayment start date, annuities differ from what every other loan calculator I checked would come up with.

Also, the last annuity is slightly lower than all the other ones:

IMG_1553

Reason turns out to be that annuities are – always – automatically rounded to the next full currency unit – in this case from 3,226.25 to 3,227.00. Thus, in the end, slightly less than a full annuity remains open.

I can see that for some currencies, subunits are so small they may or may not be considered at all. But this needs to be some kind of optional “Round up“ feature rather than being built into the original formula.

For comparison, here are two calculators and some full repayment schedules:

@bosue bosue added the bug Something isn't working label Sep 18, 2023
@bosue bosue changed the title Annuity rounding to the next full currency unit needs to optional Rounding the monthly repayment amount to the next full currency unit needs to be optional Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant