日常理財購物
分帳
把帳單平均分給多人,可選填小費,並顯示乾淨的整數金額以及誰負擔餘數。
數字
- 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