title: How to round decimal numbers in Android
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4796746/double-value-to-round-up-in-java">Double value to round up in Java</a>  </p>
  </blockquote>
  
  
  
  <p>I am getting float number as input and I want it to round to 2 digits after decimal point.
  i.e. for example if I get 18.965518 as input, I want it to be 18.97. How to do it?</p>