Calculate a tip, total bill and per-person share.
Splits are equal; check currency rounding before settling.
Tip = bill × rate ÷ 100; total = bill+tip; share = total ÷ people. Calculations use unrounded values, then tip, total and share are each rounded to two decimal places. Any remainder is not automatically distributed.
Only equal splitting is supported. Individual orders, taxes and service charges are not separate calculated fields. Check for tips or service charges already included before adding more, and settle displayed decimals using the payment units of your currency.