Fixes rounding issues around tax and floats

- tax amounts are truncated to 6 decimals before being added to totals
- same for discounts
- fixes #147

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>