Generate integers with leading 0's
<p>I have a project where I have to generate random numbers from 00000 till 99999.
The randomizing isn't where I get stuck, but the fact that it always needs 5 characters is. So when it generates the number 14, I want it as 00014.</p>

<p>What is the best way to achieve this?</p>
