diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2017-03-29 07:18:44 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-04-01 08:06:09 -0700 |
commit | 2f721cbbf06239a6841256442ee79bf8239fe4cb (patch) | |
tree | 9faf1b65cf69795ed32e719dff9e13a93f26dee8 /xslt | |
parent | 25a628bf8de4de6f26ab0d434be92457d803c409 (diff) | |
download | subsurface-2f721cbbf06239a6841256442ee79bf8239fe4cb.tar.gz |
Limit mean depth precision on CSV import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/manualcsv2xml.xslt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/manualcsv2xml.xslt b/xslt/manualcsv2xml.xslt index e5f60c3b9..9f9109248 100644 --- a/xslt/manualcsv2xml.xslt +++ b/xslt/manualcsv2xml.xslt @@ -375,7 +375,7 @@ <xsl:value-of select="translate($meanDepth, translate($meanDepth, '1234567890,.', ''), '')"/> </xsl:when> <xsl:otherwise> - <xsl:value-of select="translate(translate($meanDepth, translate($meanDepth, '1234567890,.', ''), ''), ',', '.') * 0.3048"/> + <xsl:value-of select="format-number(translate(translate($meanDepth, translate($meanDepth, '1234567890,.', ''), ''), ',', '.') * 0.3048, '#.##')"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> |