You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sale price: 10000
terms: 120
interest rate: 10
extra monthly payment: 100
Place some boundary checks in the amortizationPeriod() function, so we don't have negative values in "remaining principal" and "interest". This amortization schedule should've ended at month: 54, not 55.
Classic off-by-1 error.
The text was updated successfully, but these errors were encountered:
Sale price: 10000
terms: 120
interest rate: 10
extra monthly payment: 100
Place some boundary checks in the
amortizationPeriod()
function, so we don't have negative values in "remaining principal" and "interest". This amortization schedule should've ended at month: 54, not 55.Classic off-by-1 error.
The text was updated successfully, but these errors were encountered: