![]() ![]() $c_period_payment = $loan_amount * ($period_interest / (1 – pow((1 + $period_interest), -($total_periods)))) $period_interest = $interest_percent / $pay_periodicity ![]() ![]() $interest_percent = $annual_interest / 100 $total_periods = $loan_length * $pay_periodicity * If no error, then begin calculations */ $loan_parameters_form = replace_vars($loan_parameters_form) * Process Loan Parameters Form in any case */ If(!is_numeric($annual_interest) or $annual_interest <= 0)Īnnual interest has to be numeric and greater than zero. Loan length has to be numeric and greater than zero. If(!is_numeric($loan_length) or $loan_length <= 0) Loan amount has to be numeric and greater than zero. If(!is_numeric($loan_amount) or $loan_amount <= 0) $selected = ($pay_periodicity = $value) ? ‘selected’ : ” $add_prin_pmt = isset($_GET) ? $_GET : 0 $pay_periodicity = isset($_GET) ? $_GET : 12 $annual_interest = isset($_GET) ? $_GET : 4.75 $loan_length = isset($_GET) ? $_GET : 30 Current: ġ) make additional principle payment field calculate into the graph and the summary table showing difference between the extra paymment and no extra payment.Ģ) want to make the amortization table yearly instead of per period. ![]() I have stitched together the beginnings of a mortgage calculator, but need to add features which are beyond me right now. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |