# FV

| **Name**    | ***FV***                                                                                                                                                                                                                  |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax      | FV (Real Rate, Real NPer, Real Pmt, Real PV)                                                                                                                                                                              |
| Purpose     | To return the future value of an annuity.                                                                                                                                                                                 |
| Description | Returns the future value of an annuity based on periodic, fixed payments and a fixed interest rate.                                                                                                                       |
| Return Type | Double                                                                                                                                                                                                                    |
| Parameters  | <p>Rate \[System.Double] – Interest rate for period</p><p>NPer \[System.Double] – Number of payment periods</p><p>Pmt \[System.Double] – Payment for each period</p><p>PV \[System.Double] – Present value of annuity</p> |

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FiL2Umh9bwwoRdGOdQdCK%2F0.png?alt=media)

### **Example**

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

Where,

*Rate* = 1.5

*NPer* = 2

*Pmt* = 200

*PV* = 1000000

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FxK2CSwSqVGiDViPNq1uI%2F1.png?alt=media)

Right-click on the function transformation object and select *Preview Output.* You can see that Astera Data Stack has returned Future Value of the specified annuity.

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2Fne7pwxIbQy7jyfAnjiqm%2F2.png?alt=media)
