Christopher Welborn added the comment:
You forgot the 'f' to specify that you want float formatting:
```
>>> '{:08.3f}'.format(12.34)
'0012.340'
```
----------
nosy: +cjwelborn
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24281>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com