Closed jeroenmac closed 8 years ago
@jeroenmac Hi, thanks for your PR.
Could you use Decimal.quantize instead of round
to round these values to 2 decimals? All tests have failed because round
returns different results under different Python versions.
Sorry for my bad english.
Thank you for your feedback.
@jeroenmac Hi, could you update the test cases? just run python setup test
and fix it.
This repo is integrate with travis ci, when the tests failed it will show a :x: icon on the right of your commit message. You can click the icon to see the detail.
Dear,
I've updated the test cases.
Kr, Jeroen
Updated the following: 1) round tax amount to 2 decimals places 2) round subtotal amount to 2 decimal places 3) round total amount to 2 decimal places