margin_calc
Calculate profit margin percentage and markup between cost and revenue to assess profitability.
Instructions
Calculate profit margin percentage and markup from cost and revenue.
Parameters:
cost — Cost of goods sold.
revenue — Total revenue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | ||
| revenue | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |