String Formatting

The first number is the total number of digits, including decimal point.

>>> '%07.3f' % 5
'005.000

results matching ""

    No results matching ""