CodeCogs
HomeForumsCart
Login



Forgotten Password?

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
COST (GBP)
this unit 2.81
sub units 0.00
+
0

npv

Return the net present value of an investment.
Controller: CodeCogs

Interface

C++
Excel

Npv

 
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

Source code is available when you buy a Commercial licence.

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


Last Modified: 18 Oct 07 @ 17:07     Page Rendered: 2022-03-14 15:32:10