summaryrefslogtreecommitdiffstats
path: root/core/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/models.py')
-rw-r--r--core/models.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/models.py b/core/models.py
index 1c86dd5..180ac9d 100644
--- a/core/models.py
+++ b/core/models.py
@@ -571,13 +571,13 @@ class Entrance(TroggleModel):
def find_location(self):
if self.tag_station:
s = SurvexStation.objects.lookup(self.tag_station)
- return "%sE %sN %sAlt" % (s.x, s.y, s.z)
+ return "%0.0fE %0.0fN %0.0fAlt" % (s.x, s.y, s.z)
if self.exact_station:
s = SurvexStation.objects.lookup(self.exact_station)
- return "%sE %sN %sAlt" % (s.x, s.y, s.z)
+ return "%0.0fE %0.0fN %0.0fAlt" % (s.x, s.y, s.z)
if self.other_station:
s = SurvexStation.objects.lookup(self.other_station)
- return "%sE %sN %sAlt %s" % (s.x, s.y, s.z, self.other_description)
+ return "%0.0fE %0.0fN %0.0fAlt %s" % (s.x, s.y, s.z, self.other_description)
if self.bearings:
return self.bearings