Fixing decimal conversion string for Python 2.6.