forge_profit_margin
Convert between profit margin and markup, and work out the price a target margin requires. Answers "what is my profit margin?", "what is the difference between margin and markup?" and "what should I charge for a 40% margin?" from cost and price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | What the item costs you. | |
| price | No | What you sell it for. Optional if targetMarginPercent is given. | |
| targetMarginPercent | No | The margin you want, as a percentage. Optional. |