add more predictable behavior for amountToCent