mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
CSV import: support for decimal comma on depth
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5402d489c6
commit
50ea5ec296
1 changed files with 2 additions and 2 deletions
|
@ -272,10 +272,10 @@
|
|||
<xsl:attribute name="depth">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$units = 0">
|
||||
<xsl:value-of select="$depth"/>
|
||||
<xsl:value-of select="translate($depth, ',', '.')"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="$depth * 0.3048"/>
|
||||
<xsl:value-of select="translate($depth, ',', '.') * 0.3048"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
|
Loading…
Add table
Reference in a new issue