diff options
Diffstat (limited to 'xslt/csv2xml.xslt')
-rw-r--r-- | xslt/csv2xml.xslt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/csv2xml.xslt b/xslt/csv2xml.xslt index e3864025e..fd08c8b57 100644 --- a/xslt/csv2xml.xslt +++ b/xslt/csv2xml.xslt @@ -327,7 +327,7 @@ <xsl:value-of select="translate($depth, ',', '.')"/> </xsl:when> <xsl:otherwise> - <xsl:value-of select="translate(translate($depth, translate($depth, '0123456789,.', ''), ''), ',', '.') * 0.3048"/> + <xsl:value-of select="round(translate(translate($depth, translate($depth, '0123456789,.', ''), ''), ',', '.') * 0.3048 * 1000) div 1000"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> |