title: Need help to improve latitude & longitude accuracy
body: <p>I'm using the below code:</p>
  
  <pre><code>locationManager.distanceFilter = kCLDistanceFilterNone; 
      locationManager.desiredAccuracy = kCLLocationAccuracyBest; 
  </code></pre>
  
  <p>Where <code>locationManager</code> is an object of class <code>CLLocationManager</code>.</p>
  
  <p>When I'm extracting the lat &amp; long as:</p>
  
  <pre><code>lat = [[NSString alloc] initWithFormat:@"%g", newLocation.coordinate.latitude];
      longt=[[NSString alloc] initWithFormat:@"%g", newLocation.coordinate.longitude];
  
  NSLog(@"latitude is:%@",lat);
  NSLog(@"longitude is: %@", longt);
  </code></pre>
  
  <p>then it prints as: </p>
  
  <blockquote>
    <p>latitude is:30.6807   longitude is: 76.726</p>
  </blockquote>
  
  <p>but I do need as </p>
  
  <blockquote>
    <p>Lat: 57.645800 Long: 11.896000</p>
  </blockquote>
  
  <p>As you see the decimal ends with 00 in both cases.</p>
  
  <p>How can I do that??</p>
  
  <p>Thanks</p>
  
  <p>iPhoneDeveloper</p>