calculate_npv
Calculate Net Present Value to evaluate investment profitability by discounting future cash flows at a specified rate.
Instructions
Calculate Net Present Value of cash flows
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cashFlows | Yes | ||
| initialInvestment | No | ||
| rate | Yes | Discount rate as decimal (e.g., 0.1 for 10%) |