mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Limit max depth precision on CSV import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
2f721cbbf0
commit
5174ac57be
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@
|
|||
<xsl:value-of select="translate($maxDepth, translate($maxDepth, '1234567890,.', ''), '')"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="translate(translate($maxDepth, translate($maxDepth, '1234567890,.', ''), ''), ',', '.') * 0.3048"/>
|
||||
<xsl:value-of select="format-number(translate(translate($maxDepth, translate($maxDepth, '1234567890,.', ''), ''), ',', '.') * 0.3048, '#.##')"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
|
Loading…
Add table
Reference in a new issue