Discount rate per year (as a decimal, e.g., 0.1 for 10%).
Cash flow values where each value is a payment (negative) or income (positive).
Dates corresponding to each cash flow. The first date is treated as the base date.
The net present value for the supplied rate and dated cash flows.
Calculates the net present value for a schedule of cash flows that is not necessarily periodic.