Dave Farrance <[email protected]>: >>>> Decimal('0.3') > Decimal('0.3') >>>> Decimal(0.3) > Decimal('0.299999999999999988897769753748434595763683319091796875')
At first I thought I had never dealt with money in Python nor made use
of Decimal. Then I remembered I *did* deal with money in one program and
wondered how I handled it. Sure enough:
newdistr[clubacct] = decimal.Decimal("%.2f" % amount)
Marko
--
https://mail.python.org/mailman/listinfo/python-list
