[PATCH] Use full precision on weight system on XSLT transforms

Miika Turkia miika.turkia at gmail.com
Wed Feb 24 06:02:07 PST 2016


Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
 xslt/commonTemplates.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xslt/commonTemplates.xsl b/xslt/commonTemplates.xsl
index 86f9cda..15c8686 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 -->
-- 
2.5.0



More information about the subsurface mailing list