BF: another fix for python 2.6 decimals

Python 2.6 does not allow floats as input to Decimal