# PPmt

| **Name**    | ***PPmt***                                                                                                                    |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Syntax      | PPmt (Real Rate, Real Periods, Real numPeriods, Real PV)                                                                      |
| Purpose     | To return the principal payment for a given period of an annuity based on periodic, fixed payments and a fixed interest rate. |
| Description | Return the principal payment for a given period of an annuity based on periodic, fixed payments and a fixed interest rate.    |
| Return Type | Double                                                                                                                        |
| Parameters  | <p>Rate \[System.Double]</p><p>periods \[System.Double]</p><p>numPeriods \[System.Double]</p><p>PV \[System.Double]</p>       |

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/85RnRrMrVP0xCLKG7P4t/0.png)

### **Example**

In this example, we will be passing the required parameters to the function transformation object using a *Variables* object.

Where,

*rate* = 0.5

*periods* = 10

*numPeriods* = 100

*PV* = 50000

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/VIngrFOvMaHBBgZ3t3cd/1.png)

Right-click on the function transformation object and select *Preview Output.* You can see that Astera Data Stack has applied the PPmt function, and returned the principal payment value.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/njt4HYFalJ5C4TKpuzOA/2.png)
