About
Straightforward gratuity math: compute tip on the subtotal, add to the bill, then divide evenly.
Examples
Four people, 18%
Input
{"bill":"100","tipPercent":"18","people":"4"}Output
{"tipAmount":18,"total":118,"perPerson":29.5}Use Cases
- Group dinners
- Shared rides
- Service tipping guides