payback_period
Calculate investment payback period using initial investment and cash flows to determine when an investment breaks even, with optional discounted cash flow analysis.
Instructions
Calculate payback period for investment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cashFlows | Yes | ||
discountRate | No | Required if discounted = true | |
discounted | No | ||
initialInvestment | Yes |