Use full precision on weight system on XSLT transforms

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2016-02-24 16:02:07 +02:00 committed by Dirk Hohndel
parent 86ec3d06a2
commit 2b8e8849e6

View file

@ -127,7 +127,7 @@
<!-- Handling last value -->
<xsl:when test="count($values) = 1">
<xsl:value-of select="format-number($value + $sum, '#.#')"/>
<xsl:value-of select="format-number($value + $sum, '#.###')"/>
</xsl:when>
<!-- More than one value to sum -->