diff options
author | Igor Khmurets <subzero@mapswithme.com> | 2014-03-24 21:11:37 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:13:43 +0300 |
commit | a504dc77e3d403320611c72e9c287fa1717b224d (patch) | |
tree | 68369873288fc00f0a6b392a568502135eb6f918 /iphone/Maps/Classes/ContextViews.mm | |
parent | 731aabc0f2a5ab10a2b1791da195f678d86bc4d6 (diff) |
[ios] Small coordinate values fix
Diffstat (limited to 'iphone/Maps/Classes/ContextViews.mm')
-rw-r--r-- | iphone/Maps/Classes/ContextViews.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/ContextViews.mm b/iphone/Maps/Classes/ContextViews.mm index bd66370ffe..4b8c897918 100644 --- a/iphone/Maps/Classes/ContextViews.mm +++ b/iphone/Maps/Classes/ContextViews.mm @@ -106,6 +106,7 @@ NSNumberFormatter * numberFormatter = [[NSNumberFormatter alloc] init]; [numberFormatter setMaximumFractionDigits:digitsCount]; [numberFormatter setMinimumFractionDigits:digitsCount]; + [numberFormatter setMinimumIntegerDigits:1]; return [numberFormatter stringFromNumber:@(coordinate)]; } |