Using this calculator
How this calculator rounds
Money is whole cents. Shares use the largest-remainder method so the assigned cents add up to the fee exactly.
This describes the calculator on this site. It is not a league rule.
This page describes the rule in this calculator. It is not a league rule and not a claim about how OpenSports rounds.
- Money is stored as integer cents. A typed amount can have at most two decimal places. 120.50 is 12050 cents. A third decimal is rejected.
- A share can have two decimal places. 1 share is 100 points and 0.50 share is 50 points.
- A discount is a whole percent from 0 to 100. Effective weight is share points times (100 minus the discount). At 100%, the weight is 0 and that person owes none of the weighted remainder.
- A fixed amount, usually a spare, is taken off the fee first. The remainder is what the weighted shares divide.
Each weighted person gets the whole cents of remainder times their weight divided by the total weight. Leftover cents go one at a time to the largest fractional remainders. If two remainders tie, the earlier name on the roster gets the cent. A zero weight never receives a leftover cent.
Worked example, using only this rule: $10.00 across three equal shares is 1000 cents. The split is 334, 333, and 333 cents, which is $3.34, $3.33, and $3.33. The sum is $10.00. One cent could not be divided by three, so it stays with the first share.
The split is refused, and no amounts owed are filled in, when the fee is above zero and the roster is empty, when fixed amounts are more than the fee, or when a remainder is still left and every weighted share has zero weight. A fee of $0.00 is allowed. Anything already marked paid is then a credit. Paying more than the amount owed is also allowed, and the extra stays visible as a credit.