How to round the double value to 2 decimal points?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5710394/round-double-to-two-decimal-places-in-java">round double to two decimal places in java</a>  </p>
</blockquote>



<p>I want to round up the double value upto 2 decimal points.</p>

<p>for example: I have  double d=2; and the result should be result =2.00</p>
