title: How to round off longitude and latitude values
body: <p>How do you round off these longitude and latitude values to 6 decimals each?</p>
  
  <p>p1 contains the longitude and latitude values and "latValue" and "longValue" contain their respective values separately.</p>
  
  <pre><code>p1 = new LatLng((float) (location.getLatitude()),
                      (float) (location.getLongitude()));
  
  float latValue = (float) p1.latitude;
  float longValue = (float) p1.longitude;
  </code></pre>