summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-05-04 22:59:57 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-06 08:06:42 -0700
commitba5f10aaf2566f8374eb3d9e18e9e6f7be8aea24 (patch)
tree00428e28db26e169ec120ab37bd168250439e247 /xslt
parent63f034c92bc288273de33c0f0574651a6f29317c (diff)
downloadsubsurface-ba5f10aaf2566f8374eb3d9e18e9e6f7be8aea24.tar.gz
Round sample depth on UDDF import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt')
-rw-r--r--xslt/uddf-export.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt
index 53e1e84a7..ed0ffe16b 100644
--- a/xslt/uddf-export.xslt
+++ b/xslt/uddf-export.xslt
@@ -505,7 +505,7 @@
</xsl:for-each>
<depth>
- <xsl:value-of select="substring-before(./@depth, ' ')"/>
+ <xsl:value-of select="round(substring-before(./@depth, ' ') * 100) div 100"/>
</depth>
<divetime>