title: DecimalFormat is parsing number wrong. Why?
body: <p>I currently create a basic Java application that allows parsing a provided number into a formatted String.<br>
  The issue I face right now is, that the DecimalFormat formats the provided value in the wrong format.</p>
  
  <p>Example:  </p>
  
  <pre class="lang-java prettyprint-override"><code>private final DecimalFormat format = new DecimalFormat();
  
  public static void main(String[] args){
      int number;
      try{
          number = Integer.parseInt(args[0]);
      }catch(NumberFormatException ex){
          System.out.println("The provided value was invalid!");
          System.exit(0);
          return;
      }
  
      format.applyPattern("#,###,###.##");
  
      return format.format(number);
      System.exit(0);
  }
  </code></pre>
  
  <p>The issue I face here is, that if I, for example, provide the number <code>123456789</code> as the first argument in the jar command, will it return <code>123'456'789</code> and not the desired result of <code>123,456,789</code>.</p>
  
  <p>What could cause this issue?</p>