FT_NETPV

FT_NETPV()
 Calculate net present value

 Syntax

      FT_NETPV( <nInitialInvestment>, <nInterestRate>, <aCashFlow> ;
                [, <nNoOfCashFlows> ] ) -> nNetPV

 Arguments

     <nInitialInvestment> is the amount of cash invested for purposes
     of generating the cash flows.

     <nInterestRate> is the annual interest rate used to discount
     expected cash flows (10.5% = 10.5, not .105).

     <aCashFlow> is an array of the expected cash receipts each year.

     <nNoOfCashFlows> is the number of years cash flows are expected
     (optional, Len( aCashFlow ) ).

 Returns

     The difference between the initial investment and the discounted
     cash flow in dollars.

 Description

     This function calculates the net present value, the difference
     between the cost of an initial investment and the present value
     of the expected cash flow(s) from the investment.  The present
     value of the expected cashflow(s) is calculated at the specified
     interest rate, which is often referred to as the "cost of capital".

     This function can be used to evaluate alternative investments.
     The larger the NPV, the more profitable the investment.  See
     also the FutureValue and PresentValue for further explanations.
     The formula to calculate the net present value is:

     NetPresentValue = SUM(CashFlow[i] / ((1 + InterestRate) ** i))
                       FOR i = 1 TO NoOfCashFlows

 Examples

     nNetPresentValue := FT_NETPV(10000, 10, { 10000,15000,16000,17000 } )

 Source: NETPV.PRG

 Author: David Husnian

 

One response to “FT_NETPV

  1. Pingback: FT Math | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.