Tip Calculator
tip_calculatorCalculate a bill tip and equal per-person shares, with cent rounding or optional whole-dollar rounding up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | Yes | Bill base in USD, at most two decimals | |
| people | No | Number of equal shares; default 1 | |
| roundUp | No | Round each share up to a whole dollar; otherwise up to a cent | |
| tipPercent | Yes | Entered tip percentage, at most two decimals |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||