summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2016-02-24 16:02:07 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-25 00:38:03 +0100
commit2b8e8849e64e8237eeef7d632bde245f8ef218a1 (patch)
treea25a7ee2ee058f626b3a69ae2066c08f91547c29 /xslt
parent86ec3d06a233e77d0b3a84d71c1d23669652d8a6 (diff)
downloadsubsurface-2b8e8849e64e8237eeef7d632bde245f8ef218a1.tar.gz
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>
Diffstat (limited to 'xslt')
-rw-r--r--xslt/commonTemplates.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/commonTemplates.xsl b/xslt/commonTemplates.xsl
index 86f9cda63..15c8686b0 100644
--- a/xslt/commonTemplates.xsl
+++ b/xslt/commonTemplates.xsl
@@ -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 -->