More precision in CSV export for depths

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2017-03-29 07:16:41 +03:00 committed by Dirk Hohndel
parent 4ced7c3f73
commit 25a628bf8d

View file

@ -206,7 +206,7 @@
<xsl:text>&quot;</xsl:text>
<xsl:choose>
<xsl:when test="$units = 1">
<xsl:value-of select="concat(format-number((substring-before(@max, ' ') div 0.3048), '#.#'), ' ft')"/>
<xsl:value-of select="concat(format-number((substring-before(@max, ' ') div 0.3048), '#.##'), ' ft')"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@max"/>
@ -217,7 +217,7 @@
<xsl:text>&quot;</xsl:text>
<xsl:choose>
<xsl:when test="$units = 1">
<xsl:value-of select="concat(format-number((substring-before(@mean, ' ') div 0.3048), '#.#'), ' ft')"/>
<xsl:value-of select="concat(format-number((substring-before(@mean, ' ') div 0.3048), '#.##'), ' ft')"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@mean"/>