summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-07-22 14:12:02 -0700
committerGary E. Miller <gem@rellim.com>2016-07-22 14:13:50 -0700
commit56a0443d3c6d577652fe8ac4904fb7cdad0f80bc (patch)
treec7a0286bd8b8cfce43becb1b849e676ff0549ba8 /gpsprof
parent7da1b0a116cdd084277fc1da77e050e292632152 (diff)
downloadgpsd-56a0443d3c6d577652fe8ac4904fb7cdad0f80bc.tar.gz
Another gpsprof %.7 to %.9
We need to represent numbers like: 121.314064921 accurately.
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsprof b/gpsprof
index 1d4e31f0..8b8a40ba 100755
--- a/gpsprof
+++ b/gpsprof
@@ -196,7 +196,7 @@ class spaceplot(plotter):
for i in range(len(self.recentered)):
(lat, lon) = self.recentered[i][:2]
(raw1, raw2, alt) = self.fixes[i]
- res += "%.7f\t%.9f\t%.9f\t%.9f\t%.9f\n" % (lat, lon, raw1, raw2, alt)
+ res += "%.9f\t%.9f\t%.9f\t%.9f\t%.9f\n" % (lat, lon, raw1, raw2, alt)
return res
def plot(self):