title: convert int into string with certain length of char
body: <p>If the title wasn't clear, ill try to explain it well here. I have a bunch of integers, ranging from 1 to 999, and i need to convert these into strings, but when i do that, i need them to be 3 characters long. so for instance, if i had:</p>
  
  <pre><code>int i1 = 45;
  </code></pre>
  
  <p>then when i turned that into a string, i'd need this: <code>"045"</code> or similarly, if i had an int of 8 then that would have to turn into <code>"008"</code>, and if anything had 3 places, such as 143, then it would just be outputted as 143. is this easily possible?</p>
  
  <p>Thanks for responses in advance. :)</p>