title: Formatting doubles to two decimal places in Java produces a comma instead of a dot
body: <p>I have read many threads, and it seems to be the best solution to keep 2 places in my double number:</p>
  
  <pre><code>DecimalFormat df = new DecimalFormat("#.00");
  double d = 1.234567;
  System.out.println(df.format(d));
  </code></pre>
  
  <p>But when I use it, it prints: </p>
  
  <blockquote>
    <p>1,23</p>
  </blockquote>
  
  <p>I want to keep the DOT, cause I need this format (#.##) to use (I will use it as string). How do I keep this dot? </p>