summaryrefslogtreecommitdiffstats
path: root/xslt/DivingLog.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/DivingLog.xslt')
-rw-r--r--xslt/DivingLog.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/DivingLog.xslt b/xslt/DivingLog.xslt
index 9c17f2c74..91c5d502e 100644
--- a/xslt/DivingLog.xslt
+++ b/xslt/DivingLog.xslt
@@ -97,7 +97,7 @@
<xsl:value-of select="Tanksize"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="Tanksize * 2"/>
+ <xsl:value-of select="format-number(Tanksize * 2, '#.##')"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>