Josh-Voyles / affordable

Affordible is a simple financial calculator that helps you determine what you can afford.
GNU General Public License v3.0
0 stars 0 forks source link

PMI over 1 percent doesn't change value #137

Closed Josh-Voyles closed 2 months ago

Josh-Voyles commented 2 months ago

If you enter PMI over 1 percent, the values don't change. Anything under 1 works fine.

randy-shreeves commented 2 months ago

Removed if-clause in calculate_monthly_pmi_payment function which checked if the loan amount was >80% of the total home value. If not, then it returned 0, which caused confusing calculation results.