(20S, 21S): Qualifying Loan Amount (28:36 ratio) - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (20S, 21S): Qualifying Loan Amount (28:36 ratio) (/thread-11407.html) |
(20S, 21S): Qualifying Loan Amount (28:36 ratio) - Eddie W. Shore - 09-16-2018 10:31 PM The program presented in today's blog entry will calculate the qualifying loan amount given the following: * Loan's annual interest rate and term (in years) * The borrower's monthly gross income * The borrower's monthly non-property related debt (credit cards, auto loans, store bought appliances on credit, etc). Do not include utilities or phone bills. * The estimated monthly property tax and insurance. For this program, combine the two amounts. Before running the program, store the following amounts in the following registers: R0: Monthly Income R1: Monthly Debt R2: Monthly Property Taxes and Insurance R3: Annual Interest Rate R4: Term The down payment is not taken into consideration. The result is the loan amount using the standard 28:36 ratio (stored in register R5). The 28:36 ratio is the guideline that the borrower spends no more than 28% of their income on housing expenses, and no more than 36% of their income on all debt service. Program: Code:
Blog Entry: http://edspi31415.blogspot.com/2018/09/hp-20s-and-hp-21s-qualifying-loan.html |