Base+1 Algorithm
This method charges based on the rounded price for the total number of relevant items being sold, minus the amount charged so far in the transaction for the item(s).
Example
3 for $1.00, price per item is $.333.
Item Entered at POS Client |
Extended Amount for Item (rounded up) |
Price of Item Entered at POS Client (extended amount for item rounded up - amount charged so far) = price |
|---|---|---|
Item 1 |
1 * .333 = .333 rounded to .34 |
.34 - 0 = .34 |
Item 2 |
2 * .333 = .666 rounded to .67 |
.67 - .34 = .33 -> total now sold = .67 |
Item 3 |
3 * .333 = .999 rounded to 1.00 |
1.00 - .67 = .33 -> total now sold = 1.00 |
Example
5 for $.88, price per item is $.176.
Item Entered at POS Client |
Extended Amount for Item (rounded up) |
Price of Item Entered at POS Client (extended amount for item rounded up - amount charged so far) = price |
|---|---|---|
Item 1 |
1 * .176 = .176 rounded to .18 |
.18 - 0 = .18 |
Item 2 |
2 * .176 = .352 rounded to .36 |
.36 - .18 = .18 -> total now sold = .36 |
Item 3 |
3 * .176 = .528 rounded to .53 |
.53 - .36 = .17 -> total now sold = .53 |
Item 4 |
4 * .176 = .704 rounded to .71 |
.71 - .53 = .18 -> total now sold = .71 |
Item 5 |
5 * .176 = .88 rounded to .88 |
.88 - .71 = .17 -> total now sold = .88 |
Example
7 for $1.00, price per item is $.143
Item Entered at POS Client |
Extended Amount for Item (rounded up) |
Price of Item Entered at POS Client (extended amount for item rounded up - amount charged so far) = price |
|---|---|---|
Item 1 |
1 * .143 = .143 rounded to .15 |
.15 - 0 = .15 |
Item 2 |
2 * .143 = .286 rounded to .29 |
.29 - .15 = .14 -> total now sold = .29 |
Item 3 |
3 * .143 = .429 rounded to .43 |
.43 - .26 = .14 -> total now sold = .43 |
Item 4 |
4 * .143 = .572 rounded to .58 |
.58 - .43 = .15 -> total now sold = .58 |
Item 5 |
5 * .143 = .715 rounded to .72 |
.72 - .58 = .14 -> total now sold = .72 |
Item 6 |
6 * .143 = .858 rounded to .86 |
.86 - .72 = .14 -> total now sold =.86 |
Item 7 |
7 * .143 = 1.00 rounded to 1.00 |
1.00 - .86 = .14 -> total now sold = 1.00 |