InterestAndPrincipal
Table of Contents
-
$interest
: float
-
$principal
: float
-
__construct()
: mixed
-
interest()
: float
-
principal()
: float
$interest
protected
float
$interest
$principal
protected
float
$principal
__construct()
public
__construct([float $rate = 0.0 ], int $period, int $numberOfPeriods, float $presentValue, float $futureValue[, int $type = FinancialConstants::PAYMENT_END_OF_PERIOD ]) : mixed
Parameters
-
$rate
: float
= 0.0
-
-
$period
: int
-
-
$numberOfPeriods
: int
-
-
$presentValue
: float
-
-
$futureValue
: float
-
-
$type
: int
= FinancialConstants::PAYMENT_END_OF_PERIOD
-
Return values
mixed
—
interest()
public
interest() : float
Return values
float
—
principal()
public
principal() : float
Return values
float
—