Discount calculator
discount_calculatorSale price after a percentage discount and, given unit cost and units normally sold, how many extra sales the discount needs to keep the same profit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Normal price. | |
| units | No | Optional: units sold at the normal price. | |
| unit_cost | No | Optional: what one unit costs you. | |
| discount_percent | Yes | Discount in percent. |