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 da73c45..a0a7327 100644
--- a/xslt/manualcsv2xml.xslt
+++ b/xslt/manualcsv2xml.xslt
@@ -375,7 +375,7 @@
                   <xsl:value-of select="translate($meanDepth, 
translate($meanDepth, '1234567890,.', ''), '')"/>
                 </xsl:when>
                 <xsl:otherwise>
-                  <xsl:value-of select="translate(translate($meanDepth, 
translate($meanDepth, '1234567890,.', ''), ''), ',', '.')"/>
+                  <xsl:value-of select="translate(translate($meanDepth, 
translate($meanDepth, '1234567890,.', ''), ''), ',', '.') * 0.3048"/>
                 </xsl:otherwise>
               </xsl:choose>
             </xsl:attribute>
-- 
2.5.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to