python-tabulate
python-tabulate copied to clipboard
fix decimal precision issue
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.