What do you think about pad(num) function that would actually return padded string instead of only returning zero? That string would look much nicer.

pad(5) => "05"
pad(10) => "10"