Signed-off-by: Miika Turkia <miika.tur...@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

_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to