techcollective/mercury — Issue #134: add configurable decimal rounding
Author: 3point2
Created: 2012-01-17 16:41:40+00:00
State: open
Labels: enhancement

when creating an invoice with a total of $375 (taxable) at a tax rate of 9.5%, the total tax is calculated as $35.62, when what one would expect is $35.63 (the result of the calculation is 35.625). this is because python's decial class uses [banker's rounding](http://en.wikipedia.org/wiki/Rounding#Round_half_to_even) by default. this is actually appropriate for a financial application, but should be configurable.