diff --git a/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs b/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs index 0f020b1..2971fd2 100644 --- a/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs +++ b/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs @@ -85,7 +85,7 @@ new KeyValuePair("dir", direction), new KeyValuePair("dt", DateTime.Now.ToString(@"yyyy-MM-dd\%20HH:mm:ss")), // formatted for mysql datetime format), new KeyValuePair("lm", locationMethod), - new KeyValuePair("dis", (totalDistanceInMeters / 1609).ToString()), // in miles + new KeyValuePair("dis", (totalDistanceInMeters / 1609).ToString("0.0")), // in miles new KeyValuePair("pn", "momo1"), //Windows.Phone.System.Analytics.HostInformation.PublisherHostId), new KeyValuePair("sid", sessionID), new KeyValuePair("acc", accuracy),