Pass strings instead of floats to decimal.Decimal (necessary for Python 2.6).