Calculate the original order total, payment and savings from a unit price, quantity, percentage discount and one fixed order deduction. A discount of 20 means 20% off, leaving 80% of the price to pay.
Suggested workflow
A price of 200, discount of 20%, quantity of 2 and order deduction of 30 give original total 400.00, payment 290.00 and savings 110.00. Round unit price, multiply by quantity, round the percentage reduction result, then subtract the fixed deduction once.
What to check
Quantity is a positive whole number of up to 18 digits; discount is 0–100% and amounts are nonnegative. Choose 0–6 decimal places; exact ties round away from zero. Payment stops at zero and savings equal original total minus payment. Unit labels do not convert currencies.