title: How complete a string without exceed a determinated limit?
body: <p>I have a sequence of 47 numbers, where i must complete with 0 (zeros) to right if lenght is lower that 47. </p>
  
  <pre><code>var numbers = "42297115040000195441160020034520268610000054659";
  var numbers_lenght = numbers.length;
  
  if (numbers_lenght &lt; 47)
      numbers = numbers.concat("0");
  
      alert(numbers);
  </code></pre>
  
  <p>But i want know of a way where the complement not exceed to > 47 independent of lenght &lt; 47 is the string.</p>
  
  <p>How make this?</p>