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

Resolved issue #115: Divide by zero error #116

Closed randy-shreeves closed 2 months ago

randy-shreeves commented 2 months ago

Adjusted affordability_calculator.py function to test if the home_affordability class variable is 0 before attempting to divide. Verified test cases still pass after making adjustment.