diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2018-03-12 07:22:59 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-03-19 11:59:58 -0700 |
commit | 46f1fea1b6d1d85adc1b4d56ff75b07a292915d4 (patch) | |
tree | a1d278572e2ace53d20a9224193ea81f04ee371c /xslt/xml2manualcsv.xslt | |
parent | fc01045680230e3d8a85b74520b268eea42a67b1 (diff) | |
download | subsurface-46f1fea1b6d1d85adc1b4d56ff75b07a292915d4.tar.gz |
CSV export: Correct numeric format for depth
Add two missing format-number functions for mean depth in dive list
export and depth in dive profile export.
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'xslt/xml2manualcsv.xslt')
-rw-r--r-- | xslt/xml2manualcsv.xslt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/xml2manualcsv.xslt b/xslt/xml2manualcsv.xslt index a2f941da0..1f0336171 100644 --- a/xslt/xml2manualcsv.xslt +++ b/xslt/xml2manualcsv.xslt @@ -241,7 +241,7 @@ <xsl:value-of select="concat(format-number((substring-before(@mean, ' ') div 0.3048), '#.##'), '')"/> </xsl:when> <xsl:otherwise> - <xsl:value-of select="substring-before(@mean, ' ')"/> + <xsl:value-of select="format-number(substring-before(@mean, ' '), '#.##')"/> </xsl:otherwise> </xsl:choose> <xsl:text>"</xsl:text> |