python-tabulate icon indicating copy to clipboard operation
python-tabulate copied to clipboard

fix decimal precision issue

Open mvadari opened this issue 3 years ago • 2 comments

I was having issues where a Decimal object was being outputted incorrectly in the table - the value was 99999998999.999980 and tabulate was called with floatfmt=",.6f", and the output in that cell was 99,999,998,999.999985. This PR fixes that problem.

mvadari avatar Apr 14 '22 18:04 mvadari