Added float to Decimal conversion for python 2.6