title: Formatting Numbers with Decimal
body: <p>I'm trying to convert a number to currency with the codes below, but it is not what I exactly wanted.</p>
  
  <pre><code>NumberFormat formatter = NumberFormat.getCurrencyInstance();
  </code></pre>
  
  <p>But it shows like this 
  when I input six "3"</p>
  
  <pre><code>333,333.00
  </code></pre>
  
  <p>what I wanted is:</p>
  
  <pre><code>3,333.33
  </code></pre>
  
  <p>anyone have thoughts how to make this?</p>