jPaq Example - Padding Numbers

At times you just need to add padding to strings for presentation's sake.  For instance, have you ever needed to make sure that each number in an array had a specific number of digits?  The following example will generate 10 random numbers and then make sure they are five digits long.

Applicable Parts