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 <rep...@bugs.python.org>
<http://bugs.python.org/issue24281>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to