title: How do I format a long integer as a string without separator in Java?
body: <p>Simple question, but I'll bet that asking on here will probably be more straight forward than trying to understand the documentation for <code>MessageFormat</code>:</p>
  
  <pre><code>long foo = 12345;
  String s = MessageFormat.format("{0}", foo);
  </code></pre>
  
  <p>Observed value is "12,345".</p>
  
  <p>Desired value is "12345".</p>