On 23 August 2014 18:47, Seymore4Head <Seymore4Head@hotmail.invalid> wrote: > Anyone care to suggest what method to use to fix the decimal format?
It sounds like you want a primer on floating point. The documentation of the decimal module is actually a good read, although I don't doubt there are even better resources somewhere: https://docs.python.org/3/library/decimal.html Note that you probably also want to use the decimal module, seeing as it's good at storing decimals. Finally, look at "moneyfmt" in the decimal docs: https://docs.python.org/3/library/decimal.html#recipes -- https://mail.python.org/mailman/listinfo/python-list