日常理财购物
折扣计算器
打折后的最终价格和省下的金额,可再叠加第二重折扣(在特价基础上再用优惠券)。会显示真正的综合折扣率,它总是小于两个折扣之和。
数值
- 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₂。
常见问题
- 先打 8 折再减 10% 是多少?
- 总共是打 7.2 折(省 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