diff options
Diffstat (limited to 'xslt/xml2csv.xslt')
-rw-r--r-- | xslt/xml2csv.xslt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/xml2csv.xslt b/xslt/xml2csv.xslt index e4a40cc74..a0492cbba 100644 --- a/xslt/xml2csv.xslt +++ b/xslt/xml2csv.xslt @@ -41,10 +41,10 @@ <xsl:value-of select="$fs"/> <xsl:choose> <xsl:when test="$units = 1"> - <xsl:value-of select="concat('"', round((substring-before(@depth, ' ') div 0.3048) * 1000) div 1000, '"')"/> + <xsl:value-of select="concat('"', format-number(substring-before(@depth, ' ') div 0.3048, '#.###'), '"')"/> </xsl:when> <xsl:otherwise> - <xsl:value-of select="concat('"', round(substring-before(@depth, ' ') * 1000) div 1000, '"')"/> + <xsl:value-of select="concat('"', format-number(substring-before(@depth, ' '), '#.###'), '"')"/> </xsl:otherwise> </xsl:choose> |