ROI Calculator
roiCompute net gain and return on investment percentage from entered cost and final value, with optional annualization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Cost (must be positive). | |
| years | No | Optional positive duration in years for annualized ROI. | |
| finalValue | Yes | Final value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||