title: BigDecimal to string
body: <p>I have a BigDecimal object and i want to convert it to string.
  The problem is that my value got fraction and i get a huge number (in length) and i only need the original number in string for example:
  for</p>
  
  <pre><code>BigDecimal bd = new BigDecimal(10.0001)
  System.out.println(bd.toString());
  System.out.println(bd.toPlainString());
  </code></pre>
  
  <p><strong>the output is:</strong></p>
  
  <pre><code>10.000099999999999766941982670687139034271240234375
  10.000099999999999766941982670687139034271240234375
  </code></pre>
  
  <p>and i need the out put to be exactly the number <code>10.0001</code> in string</p>