mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Fix size conversion on imperial CSV import
We really need the decimal separator to get correct results Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
841d1b4fac
commit
4ced7c3f73
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@
|
|||
<xsl:value-of select="$size"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="format-number((translate($size, translate($size, '0123456789', ''), '') * 14.7 div 3000) div 0.035315, '#.#')"/>
|
||||
<xsl:value-of select="format-number((translate($size, translate($size, '0123456789.,', ''), '') * 14.7 div 3000) div 0.035315, '#.#')"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
|
Loading…
Add table
Reference in a new issue