roi_calc
Compute ROI percentage from investment gain and cost. Enter gain and cost values to determine return on investment.
Instructions
Calculate Return on Investment (ROI) percentage.
Parameters:
gain — Total gain from investment.
cost — Total cost of investment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gain | Yes | ||
| cost | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |