title: How to make any double datatype into 0.00 (2 digits after decimal point) format taking in another double datatype (Android/Java)?
body: <p>I'm beginner in android developing. How can I make a double datatype i.e 56.32534 into 56.33? But I want to take it in a double variable. I know a way but it takes in String.</p>
  
  <pre><code>Double value = 56.32534;
  DecimalFormat df = new DecimalFormat("0.##");
  String newvalue = df.format(value);
  </code></pre>
  
  <p>Here, <code>newvalue</code>is a string. But I want to take it in a double datatype.</p>
  
  <p>I need to use it's numeric value not just in display purpose only.</p>