Calculate a profit margin
calculate_profit_marginCalculate the profit margin and markup from a cost and a selling price, or the selling price needed for a target margin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Cost of the item or job | |
| price | No | Selling price | |
| targetMarginPercent | No | Margin wanted, as a percentage of price |