COST (GBP)
2.81
0
npv
Return the net present value of an investment.
Controller: CodeCogs
Interface
#include <codecogs/finance/accounting/npv.h>
using namespace Finance::Accounting;
double | npv (double rate, double value[], int nV)
Return the net present value of an investment. |
These functions are available for Microsoft Excel (
Login to download):
Real | cc_npv (Real rate, Range value, Integer nV) |
Use the following HTML code to embed the calculators within other websites:
Npv
This function calculates the net present value of an investment. It returns the net present value of a stream of equal periodic cash flows, which are subject to a given discount rate.
Parameters
rate | The interest rate |
value | An array of values |
nV | The number of values (entries in the array) |
Source Code
Source code is available when you buy a Commercial licence.
Not a member, then Register with CodeCogs. Already a Member, then Login.