Permalink
Browse files

Changed precision of location coodinates

  • Loading branch information...
1 parent 31ac0b5 commit f56fdac72a65cb1c232a2ac91ded0fae5de655a4 @deepwinter committed May 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/DataModels/RHLocation.m
@@ -36,11 +36,11 @@ - (RHLocation * ) init {
- (NSString *) _getLatitudeString{
- return [NSString stringWithFormat: @"%g", currentLocation.coordinate.latitude];
+ return [NSString stringWithFormat: @"%lf", currentLocation.coordinate.latitude];
}
- (NSString *) _getLongitudeString {
- return [NSString stringWithFormat: @"%g", currentLocation.coordinate.longitude];
+ return [NSString stringWithFormat: @"%lf", currentLocation.coordinate.longitude];
}

0 comments on commit f56fdac

Please sign in to comment.