title: How to display BigDecimal value in a human readable format?
body: <p>Suppose we have a BigDecimal variable setted up like this, and we can't change the way of it's creation:</p>
  
  <pre><code>BigDecimal num = new BigDecimal(6.0053);
  </code></pre>
  
  <p>So we'll see the following 'pretty' value after an output:</p>
  
  <pre><code>System.out.println(num);   //0053000000000000824229573481716215610504150390625
  </code></pre>
  
  <p>The only way I've found to resolve this problem was using BigDecimal.valueOf():</p>
  
  <pre><code>System.out.println(BigDecimal.valueOf(num.doubleValue()));   //6.0053
  </code></pre>
  
  <p>But is there a more simple solution? </p>
  
  <p>Thanks in advance.</p>