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

fix: Loan calculation #638

Merged
merged 75 commits into from
Jul 18, 2023
Merged

fix: Loan calculation #638

merged 75 commits into from
Jul 18, 2023

Conversation

Senna46
Copy link
Contributor

@Senna46 Senna46 commented Jul 5, 2023

Change to continuous compounding Interest to eliminate extra code and bugs

Calculation of Repayment Amount:
Principal * exp^(Interest Rate * Borrowing Period/1 year)

Calculation of Interest Only:
Principal * (exp^(Interest Rate * Borrowing Period/1 year) - 1)

@Senna46 Senna46 marked this pull request as ready for review July 18, 2023 05:57
Base automatically changed from enable-nftfactory to newDevelop July 18, 2023 05:58
@Senna46 Senna46 merged commit 512a6ba into newDevelop Jul 18, 2023
@Senna46 Senna46 deleted the fix/loan branch July 18, 2023 05:58
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

Successfully merging this pull request may close these issues.

1 participant