Calculates the current value from an array of estimated cash flow values.
function NetPresentValue(const Rate: Extended; const CashFlows: array of Double; PaymentTime: TPaymentTime): Extended;
Extended NetPresentValue(const Extended Rate, const array of Double CashFlows, TPaymentTime PaymentTime);
Math
NetPresentValue calculates the current value of an array of estimated cash flow values, discounted at the given interest rate of Rate.
CashFlows is the array of estimated cash flow values. In C++, CashFlows_Size is the index of the last element in that array (one less than the number of elements).
PaymentTime indicates whether the cash flows occur at the beginning or end of the period.
NetPresentValue helps determine how much an investment is currently worth, based on expected earnings, although its accuracy depends on the accuracy of the cash flows in the array.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|