mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix imperial unit conversion on CSV import
Math only takes numbers, need to ignore the ft part. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
0a84c6e693
commit
78904b74b1
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@
|
|||
<xsl:value-of select="translate($depth, ',', '.')"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="translate($depth, ',', '.') * 0.3048"/>
|
||||
<xsl:value-of select="translate(translate($depth, translate($depth, '0123456789,.', ''), ''), ',', '.') * 0.3048"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
|
Loading…
Add table
Reference in a new issue