title: Format a BigDecimal as String with max 2 decimal digits, removing 0 on decimal part
body: <p>I have a BigDecimal number and i consider only 2 decimal places of it so i truncate it using:</p>
  
  <pre><code>bd = bd.setScale(2, BigDecimal.ROUND_DOWN)
  </code></pre>
  
  <p>Now I want to print it as String but removing the decimal part if it is 0, for example:</p>
  
  <p>1.00 -> 1</p>
  
  <p>1.50 -> 1.5</p>
  
  <p>1.99 -> 1.99</p>
  
  <p>I tried using a Formatter, formatter.format but i always get the 2 decimal digits.</p>
  
  <p>How can I do this? Maybe working on the string from bd.toPlainString()?</p>