38 $type = FinancialConstants::PAYMENT_END_OF_PERIOD
55 return $e->getMessage();
59 if ($start < 1 || $start >
$end) {
67 if (is_string($ipmt)) {
103 $type = FinancialConstants::PAYMENT_END_OF_PERIOD
120 return $e->getMessage();
124 if ($start < 1 || $start >
$end) {
132 if (is_string($ppmt)) {
static validatePresentValue($presentValue)
static validateRate($rate)
static validatePeriodType($type)
static principal( $rate, $periods, $presentValue, $start, $end, $type=FinancialConstants::PAYMENT_END_OF_PERIOD)
CUMPRINC.
static payment( $interestRate, $period, $numberOfPeriods, $presentValue, $futureValue=0, $type=FinancialConstants::PAYMENT_END_OF_PERIOD)
IPMT.
static interestPayment( $interestRate, $period, $numberOfPeriods, $presentValue, $futureValue=0, $type=FinancialConstants::PAYMENT_END_OF_PERIOD)
PPMT.
static interest( $rate, $periods, $presentValue, $start, $end, $type=FinancialConstants::PAYMENT_END_OF_PERIOD)
CUMIPMT.
static validateInt($value)
static flattenSingleValue($value='')
Convert an array to a single scalar value by extracting the first element.