xearno.tools

日常理财购物

账单平摊

把一张账单在若干人之间平摊,可加小费,并显示干净的取整金额以及由谁补上余数。

不想逐个字段填?

用一句话描述你的情况——任何语言都行。我来填表,工具来算。

数值

Per person
46.60
Grand total
186.40

老手的解读

值得了解

Even splits are the social default because they end the conversation. Itemizing is worth the friction only when shares diverge a lot — a common threshold is someone’s actual share differing by more than ~20% from the even split.

方法说明

每人 = 总额 × (1 + 小费%) ÷ 人数,向上取整到分,以保证账单总能付清。

取整造成的多收部分会明确报出,而非悄悄消失。

面向智能体

调用这个工具,而不是在上下文里硬算。传入确定性的 JSON,返回算好的数值加上基准解读。 完整智能体文档 →

curl -s https://xearno.tools/api/v1/tools/split-bill \
  -H 'content-type: application/json' \
  -d '{"total":186.4,"people":4,"tip":0}'

Schema: GET /api/v1/tools/split-bill · MCP 工具名: split_bill