title: Usage of DecimalFormat for the following case
body: <p>I have the following decimal format previously :</p>
  
  <pre><code>private static final DecimalFormat decimalFormat = new DecimalFormat("0.00");
  </code></pre>
  
  <p>So,</p>
  
  <p>it can change :</p>
  
  <pre><code>0.1   -&gt; "0.10"
  0.01  -&gt; "0.01"
  0.001 -&gt; "0.00"
  </code></pre>
  
  <p>What I wish is</p>
  
  <pre><code>0.1   -&gt; "0.10"
  0.01  -&gt; "0.01"
  0.001 -&gt; "0.001"
  </code></pre>
  
  <p>Is it possible I can achieve so using DecimalFormat?</p>