
382
|
Chapter 12: The Language Reference
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Usage at a Glance
• The discount rate is stated as a decimal percent. For example, 10% is stated as 0.1.
• valueArray is a one-dimensional array that must contain at least one negative
value (a payment) and one positive value (a receipt).
• The
NPV investment begins one period before the date of the first cash-flow value
and ends with the last cash-flow value in the array.
•
NPV requires future cash flows. If the first cash-flow occurs at the beginning of the
first period, the first value must be added to the value returned by
NPV and must
not be included in
valueArray.
• NPV is like the PV function, except that PV allows cash flows to begin either at the
beginning or the end of a period and requires that cash flows be fixed throughout
the investment.
See Also
FV Function, IPmt Function, NPer Function, Pmt Function, PPmt Function, PV Func-
tion, Rate Function
Obsolete Attribute
Class
System.ObsoleteAttribute
Applies To
Class, Struct, Enum, Constructor, Method, Property, Field, Event, Interface, and Dele-
gate (all program elements except parameters and return values)
Constructors
New([message[, error]])
message (optional; String)
Provides relevant information concerning the obsolete element, including possible
workarounds.
error (optional; Boolean)
Indicates