FinMath.FV1 Method
Future value of money
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
P
-
double
Present value of money
-
r
-
double
Discount per time interval (year)
-
n
-
double
Number of intervals (years)
Return Value
double
double P = 100.0; // amount of money
double r = 0.05; // interest rate (5%)
double n = 5; // number of years
double m = 4; // number of payment periods per year
Console.WriteLine("FV1 {0}", TFinMath.FV1(P,r,n));
Console.WriteLine("FV2 {0}", TFinMath.FV2(P,r,n));
Console.WriteLine("FV3 {0}", TFinMath.FV3(P,r,n,m));
Console.WriteLine("FV4 {0}", TFinMath.FV3(P,r,n));
In this article
Definition