diff options
Diffstat (limited to 'xslt/SuuntoSDM.xslt')
-rw-r--r-- | xslt/SuuntoSDM.xslt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/SuuntoSDM.xslt b/xslt/SuuntoSDM.xslt index 14d088c97..a3159a58b 100644 --- a/xslt/SuuntoSDM.xslt +++ b/xslt/SuuntoSDM.xslt @@ -65,7 +65,7 @@ <xsl:if test="WEIGTH != ''"> <weightsystem> <xsl:attribute name="weight"> - <xsl:value-of select="concat(WEIGTH, ' kg')"/> + <xsl:value-of select="concat(translate(WEIGTH, ',', '.'), ' kg')"/> </xsl:attribute> </weightsystem> </xsl:if> @@ -240,7 +240,7 @@ <xsl:choose> <xsl:when test="$number != ''"> - <xsl:value-of select="concat(($number div 1000), ' bar')"/> + <xsl:value-of select="concat(format-number(($number div 1000), '#.##'), ' bar')"/> </xsl:when> <xsl:otherwise>0</xsl:otherwise> </xsl:choose> |