tip_splitter
Compute restaurant bill gratuity, total payable bill, and fair per-person itemized payment split across dining parties.
Behavior: Deterministic, idempotent calculation with zero external side effects. Multiplies pre-tip subtotal by tip percentage, computes total bill including tip, and divides by party size to provide per-guest charge with fair penny rounding.
Usage Guidelines: Use for restaurant dining bills, food delivery tips, and group expense splitting. Do not use for commercial corporate tax or VAT; use vat_sales_tax instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numPeople | No | Total number of guests sharing the bill. Must be an integer greater than or equal to 1. | |
| billAmount | Yes | Pre-tip subtotal or total food and beverage bill in monetary units. Must be positive. | |
| tipPercent | No | Gratuity percentage to add (e.g. 15, 18, 20, 25%). |