title: In Java, is there a way to format the output of a double/int or non-string variable?
body: <p>I realize this sounds simple, and probably is...
  Say this the code within main(), which is inside of a loop:</p>
  
  <pre><code>System.out.println(num[i]+"\t     "+qty[i]+"\t     "+money.format(price[i])+"\t"+money.format(value[i])+"\t"+reorder[i]);
  </code></pre>
  
  <p>with the total captured here:</p>
  
  <p><a href="http://maradastudios.ucoz.com/school/Capture.png" rel="nofollow">http://maradastudios.ucoz.com/school/Capture.png</a></p>
  
  <p>as you may have noticed, it works fine.  However, during the output the line of #114 (2nd to last line) has a total value of $90.00.  This is correct, but it causes odd spacing for the Reorder Point variable.  To state it simply, can I format this variable to take up the same amount of space as it's larger-digited counterparts?</p>