FV Function | |
Returns the future value of a financial investment.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.21
Syntax FUNCTION FV(
nPayment AS FLOAT,
nInterestRate AS FLOAT,
nPeriods AS FLOAT
) AS FLOAT
public static Float FV(
Float nPayment,
Float nInterestRate,
Float nPeriods
)
Request Example
View SourceParameters
- nPayment
- Type: Float
Specifies the constant periodic payment (which can be negative or positive).
- nInterestRate
- Type: Float
Specifies the periodic interest rate. If the interest rate is annual but the payments are made monthly, divide the annual interest rate by 12.
- nPeriods
- Type: Float
Specifies the number of periods over which payments are made. FV( ) assumes that the periodic payments are made at the end of each period.
Return Value
Type:
Float
Numeric
Remarks
FV( ) computes the future value of a series of constant periodic payments earning fixed compound interest.
The future value is the total of all payments and the interest.
Examples 1STORE 500 TO gnPayment
2STORE .075/12 TO gnInterest
3STORE 48 TO gnPeriods
4Clear
5? FV(gnPayment, gnInterest, gnPeriods)
See Also