FinMath.PV1 Method
Present 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
-
F
-
double
Future value of money
-
r
-
double
Discount per time interval (year)
-
n
-
double
Number of intervals (years)
Return Value
double
double F = 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("PV1 {0}", TFinMath.PV1(F,r,n));
Console.WriteLine("PV2 {0}", TFinMath.PV2(F,r,n));
Console.WriteLine("PV3 {0}", TFinMath.PV3(F,r,n));
Console.WriteLine("PV4 {0}", TFinMath.PV3(F,r,n,m));
In this article
Definition