Function
string.zfill

Signature

zfill(x, width)

Documentation String

zfill(x, width) -> string

Pad a numeric string x with zeros on the left, to fill a field of the specified width. The string x is never truncated.