I want to add 0s to a number.

Let's say I have 5, I have to add 4 digits like this:
00005

If I have 17 I have to add 3 digits like this:
00017