diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2016-11-10 06:47:45 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-11-15 03:23:56 -0800 |
commit | 6d6caf8620d637a709583030c9a19682db742d23 (patch) | |
tree | 647921a07c0cfa463b7dbf9bba4bb43b5309d9aa /xslt | |
parent | 821e35d2bb9a94798dceb5fa609eafba8d54776b (diff) | |
download | subsurface-6d6caf8620d637a709583030c9a19682db742d23.tar.gz |
Fix imiperial conversion on CSV import
Somehow the divider lost one zero during copypaste to this XSLT file.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/manualcsv2xml.xslt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/manualcsv2xml.xslt b/xslt/manualcsv2xml.xslt index 6dbcc5c9b..da73c458d 100644 --- a/xslt/manualcsv2xml.xslt +++ b/xslt/manualcsv2xml.xslt @@ -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.35315, '#.#')"/> + <xsl:value-of select="format-number((translate($size, translate($size, '0123456789', ''), '') * 14.7 div 3000) div 0.035315, '#.#')"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> |