Divides a total between people and rounds each share to the unit you choose. Rounding up leaves the organiser with a surplus, rounding down leaves them out of pocket. That difference is also shown.
The total is divided between everyone and each share is rounded to a unit you choose, so that nobody has to hand over small change.
is the total, the number of people, the rounding unit and what each person pays. Choosing to round down replaces the ceiling with a floor. The amount collected, , and the difference from the total, , are shown as well.
A total of 23000 between 7 people is about 3285.7 each. Rounded up to the nearest 100 that becomes 3300. Seven people paying 3300 hand over , which is 100 more than the bill, so 100 is left over.
Rounding up collects more than the bill and leaves a surplus. Rounding down collects less, and whoever is organising covers the shortfall. The sign of the difference says which it is: positive is a surplus, negative comes out of the organiser's pocket.
To avoid rounding altogether, set the unit to 1.
The number of people must be a whole number of at least 1, and the rounding unit must be positive.
No allowance is made for the organiser paying extra, or for a smaller share for anyone who did not drink. Everyone pays the same.