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

Fixed Divide by Zero Error in Loans Dialog #5072

Merged
merged 3 commits into from
Oct 21, 2024

Commits on Oct 19, 2024

  1. Enforce a Minimum Interest Rate of 1% in Loan Calculations

    Adjusted the logic to enforce a minimum interest rate of 1% when setting the interest rate for new loans.
    IllianiCBT committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    4257a31 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    19dcf65 View commit details
    Browse the repository at this point in the history
  2. Correct loan rate calculation for zero interest

    Updated `Loan.java` to correctly calculate payment amount when interest is zero. Removed unnecessary minimum rate enforcement in `NewLoanDialog.java` to allow for zero interest rates.
    IllianiCBT committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    918f04b View commit details
    Browse the repository at this point in the history