dev-master
9999999-devA class for calculating remaining amounts on a mortgage
MIT
The Requires
- php >=5.3.0
calculator mortgage interest only repayment interest
Wallogit.com
2017 © Pedro Peláez
A class for calculating remaining amounts on a mortgage
Calculates monthly repayment and monthly interest-only costs for a mortgage., (*1)
require_once 'vendor/autoload.php'; $calculator = new CentralApps\MortgageCalculator\Calculator(); $calculator->setAmountBorrowed( 125000 ); $calculator->setInterestRate( 6 ); $calculator->setYears( 25 ); echo 'Monthly repayment costs £' . $calculator->calculateRepayment() . PHP_EOL; echo 'Monthly interest-only costs £' . $calculator->calculateInterestOnlyPayment() . PHP_EOL;
A class for calculating remaining amounts on a mortgage
MIT
calculator mortgage interest only repayment interest