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

incurred interests rounded to the cents make the accrued interests overstated at the end of the month #1074

Open
sebastienverreault opened this issue Nov 29, 2024 · 0 comments

Comments

@sebastienverreault
Copy link
Contributor

sebastienverreault commented Nov 29, 2024

the daily incurred interests are rounded to the cents making the accrued interests overstated at the end of the month
it's probably not acceptable that
X days * disbursement_amount * yearly_interest_rate / 365
!=
Sum_of_X_time(disbursement_amount * yearly_interest_rate / 365)

it's paid monthly so the rounded amount should be the final calc:" round(X days disbursement_amount yearly_interest_rate / 365)

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

1 participant