summaryrefslogtreecommitdiffstats
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-26 09:31:08 +0100
commitd5f2bb23536d2cd88d7768aa041241b1c79ccbda (patch)
treef7b473f7b40abce95b1a6291c87d5e60848f9894
parentd38f50d1281092c0a7d68ec7648a13041d8046c8 (diff)
downloadsubsurface-d5f2bb23536d2cd88d7768aa041241b1c79ccbda.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>
-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 -->