title: How to convert BigDecimal to float having 2 decimal in java
body: <p>How can I convert a BigDecimal to float, having 2 decimal in java?</p>
  
  <pre><code>BigDecimal x=new BigDecimal(any exponential term);
  </code></pre>
  
  <p>Now I want to convert to float having 2 decimal point only, for example -0.45.</p>