日常理財購物
折扣計算器
折扣後的最終價格與省下的金額,可選填第二層疊加折扣(特價再加優惠券)。顯示真正的合併折扣率,它一定小於兩者相加。
數字
- Final price
- 71.99
- You save
- 18.00
- 20%
行家的解讀
值得一提
A discount is only a saving if you would have bought at full price. Anchoring on the "saved" number is exactly what the sale is designed to make you do.
方法論
最終價格 = 價格 ×(1 − d₁)×(1 − d₂)。疊加折扣是相乘,所以合併折扣率是 1 −(1−d₁)(1−d₂),永遠低於 d₁ + d₂。
常見問題
- 先打八折、再多折 10%,等於折多少?
- 合計是打七二折(省 28%),不是省 30%。多的 10% 是套在第一次折扣後的價格上:(1 − 0.20) ×(1 − 0.10)= 原價的 0.72。
給代理使用
呼叫這個工具,而不是在對話脈絡裡自行計算。輸入確定性的 JSON,取回計算後的數值以及基準解讀。 完整代理文件 →
curl -s https://xearno.tools/api/v1/tools/discount \
-H 'content-type: application/json' \
-d '{"price":89.99,"discount1":20,"discount2":0}'Schema: GET /api/v1/tools/discount · MCP 工具名稱: discount