Changed decimal format for Python 2.6