src/Alg/Math/Finance/CompoundInterest.php
public function getInterestFromFutureAmount( $futureAmount, $change = FALSE )
	{
		$result	= self::calculateInterest( $this->amount, $futureAmount, $this->periods );
		if( $change )
			$this->periods	= round( $result );
		return $result;
	}
public function getInterestFromFutureAmount( $futureAmount, $change = FALSE )
	{
		$result	= self::calculateInterest( $this->amount, $futureAmount, $this->periods );
		if( $change )
			$this->periods	= round( $result );
		return $result;
	}
public function getInterestFromFutureAmount ( $ futureAmount , $ change = FALSE ) { $ result = self :: calculateInterest ( $ this -> amount , $ futureAmount , $ this -> periods ) ; if ( $ change ) $ this -> periods = round ( $ result ) ; return $ result ; }
Calculates and returns Interest from Future Amount.
@access		public
@return		float
Calculates and returns Interest from Future Amount .