diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-07-31 08:19:37 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-31 10:32:17 -0700 |
commit | d7a5bae4c8e32232818d76626a1b737c625b7c19 (patch) | |
tree | 2007c8b5c398f97f631561de304862e4654f899d /xslt | |
parent | 5c1acca2121e33b896a451e475cb7d5102257dd8 (diff) | |
download | subsurface-d7a5bae4c8e32232818d76626a1b737c625b7c19.tar.gz |
CSV import: fix imperial conversion for weight
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 83c543581..5141c445e 100644 --- a/xslt/manualcsv2xml.xslt +++ b/xslt/manualcsv2xml.xslt @@ -377,7 +377,7 @@ <xsl:value-of select="translate($weight, translate($weight, '1234567890,.', ''), '')"/> </xsl:when> <xsl:otherwise> - <xsl:value-of select="translate(translate($weight, translate($weight, '1234567890,.', ''), ''), ',', '.') * 0.3048"/> + <xsl:value-of select="translate(translate($weight, translate($weight, '1234567890,.', ''), ''), ',', '.') div 2.2046"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> |