Module:Pad0

local p = {}

function p.pad0(frame) return string.format("%0"..frame.args[2].."d", frame.args[1]) end

return p