fix error with Decimal in older python versions
Merge pull request #620 from wozz/exchange-rate-old-python

fix error with Decimal in older python versions