Fix CSV import of cylinder pressures

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2017-03-29 19:52:25 +03:00 committed by Dirk Hohndel
parent b585f65d50
commit 919cfc9dee

View file

@ -300,7 +300,7 @@
<xsl:value-of select="$start"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="format-number($start div 14.5037738, '#.###')"/>
<xsl:value-of select="format-number(translate($start, translate($start, '0123456789.,', ''), '') div 14.5037738, '#.#')"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
@ -318,7 +318,7 @@
<xsl:value-of select="$end"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="format-number($end div 14.5037738, '#.###')"/>
<xsl:value-of select="format-number(translate($end, translate($end, '0123456789.,', ''), '') div 14.5037738, '#.#')"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>