CodeCogs - An iteractive open source Numerical library Welcome... Login
CodeCogs
shopping cart
OSXWindowsLinux
Search CodeCogs
Numerical Components

Valid RSS

FinanceAccounting

npv

Only available under a commercial licence
COST (GBP)
this unit 2.34
sub units 0.00
add a commercial licence to your cart
0
viewed 2110 times and licensed 3 times

Return the net present value of an investment.

Controller: CodeCogs  Contact Controller
+View version details
Contents hide toc
buy now     add cart

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.
ExcelReal cc_npv (Real rate, Range value, Integer nV)
This function is available as a Microsoft Excel add-in.

Function Documentation

Npv Calculator
  
Add calculator to website or email
 
doublenpvdoublerate
double*value
intnV )
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:
rateThe interest rate
valueAn array of values
nVThe number of values (entries in the array)
Source Code:

To view or download source code you need to buy a Commercial licence.

buy now     add cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


Page Comments

Format Excel Equations

  You must login to leave a messge


Last Modified: 18 Oct 07 @ 17:07     Page Rendered: 2010-03-10 17:35:11

Valid CSS!   Valid XHTML 1.0 Transitional