Documentation

InterestAndPrincipal

Table of Contents

$interest  : float
$principal  : float
__construct()  : mixed
interest()  : float
principal()  : float

Properties

Methods

__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

Search results