Signed-off-by: Miika Turkia <[email protected]>
---
xslt/manualcsv2xml.xslt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xslt/manualcsv2xml.xslt b/xslt/manualcsv2xml.xslt
index 83c5435..5141c44 100644
--- a/xslt/manualcsv2xml.xslt
+++ b/xslt/manualcsv2xml.xslt
@@ -377,7 +377,7 @@
<xsl:value-of select="translate($weight, translate($weight,
'1234567890,.', ''), '')"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="translate(translate($weight,
translate($weight, '1234567890,.', ''), ''), ',', '.') * 0.3048"/>
+ <xsl:value-of select="translate(translate($weight,
translate($weight, '1234567890,.', ''), ''), ',', '.') div 2.2046"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
--
2.1.4
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface