title: How to set customize currency in java?
body: <p>I tried to make manual currency. Here is my code</p>
  
  <pre><code>DecimalFormat df = new DecimalFormat();
  DecimalFormatSymbols dfs = new DecimalFormatSymbols();
  dfs.setCurrencySymbol("$");
  dfs.setGroupingSeparator('.');
  dfs.setDecimalSeparator('.');
  df.setDecimalFormatSymbols(dfs);
  System.out.println(df.format(3333454));
  </code></pre>
  
  <p>Program output is </p>
  
  <blockquote>
    <p>3.333.454</p>
  </blockquote>
  
  <p>Why the currency symbol I set didn't appear?</p>