summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-06-27 10:32:34 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-06-27 10:39:40 +0200
commit6e10770d2c121a88be0368c8764c47596bc884ba (patch)
tree01157afc7e4fa97b63ffe3e572cbd23a218eca14 /archaeological_operations
parentb90d2673308b6a2fc696505e437e692928fd1849 (diff)
downloadIshtar-6e10770d2c121a88be0368c8764c47596bc884ba.tar.bz2
Ishtar-6e10770d2c121a88be0368c8764c47596bc884ba.zip
🐛 sheet: fix float display for hectare
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 9155ce3eb..4f0112710 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -1978,7 +1978,7 @@ class Operation(
@property
def surface_ha(self):
if self.surface:
- return self.surface / 10000.0
+ return round(self.surface / 10000.0, 5)
@property
def cost_by_m2(self):