IPmt
Name | IPmt |
Syntax | IPmt (Real Rate, Real Periods, Real numPeriods, Real PV) |
Purpose | To return a value by applying the interest payment function on specified values. |
Description | Returns the interest payment for a given period of an annuity based on periodic, fixed payments and a fixed interest rate. |
Return Type | Double |
Parameters | Rate [System.Double] periods [System.Double] numPeriods [System.Double] PV [System.Double] |
![](https://documentation.astera.com/~gitbook/image?url=https%3A%2F%2Fgithub.com%2Fastera-software%2FAstera_Data_Stack_v9%2Fblob%2Fmain%2F.gitbook%2Fassets%2F0%2520%2836%29.png&width=768&dpr=4&quality=100&sign=61fd48a3&sv=1)
Example
In this example, we will be passing the required parameters to the function transformation object using a Variables object.
Where,
rate = 3
periods = 5
numPeriods = 100
PV = 5000000
![](https://documentation.astera.com/~gitbook/image?url=https%3A%2F%2Fgithub.com%2Fastera-software%2FAstera_Data_Stack_v9%2Fblob%2Fmain%2F.gitbook%2Fassets%2F1%2520%2837%29.png&width=768&dpr=4&quality=100&sign=b835ce37&sv=1)
Right-click on the function transformation object and select Preview Output. You can see that Astera Data Stack has applied the IPmt function, and returned the interest amount of an annuity, dependent on a specified period and period amount.