Handle precision in format specifier.

- Added handling of precision to extract_format.
- Updated docs.
- Added test case for precision.
Tricky. While format() certainly always outputs the 0, I can't immediately think of a reason why we couldn't handle no leading 0. On the other hand, it might be better to play it safe.