Changeset 919cfc9d in subsurface


Ignore:
Timestamp:
Apr 1, 2017, 8:06:09 AM (6 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
62c7abc
Parents:
b585f65
git-author:
Miika Turkia <miika.turkia@…> (03/29/17 09:52:25)
git-committer:
Dirk Hohndel <dirk@…> (04/01/17 08:06:09)
Message:

Fix CSV import of cylinder pressures

Signed-off-by: Miika Turkia <miika.turkia@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xslt/manualcsv2xml.xslt

    rb585f65 r919cfc9d  
    301301                </xsl:when>
    302302                <xsl:otherwise>
    303                   <xsl:value-of select="format-number($start div 14.5037738, '#.###')"/>
     303                  <xsl:value-of select="format-number(translate($start, translate($start, '0123456789.,', ''), '') div 14.5037738, '#.#')"/>
    304304                </xsl:otherwise>
    305305              </xsl:choose>
     
    319319                </xsl:when>
    320320                <xsl:otherwise>
    321                   <xsl:value-of select="format-number($end div 14.5037738, '#.###')"/>
     321                  <xsl:value-of select="format-number(translate($end, translate($end, '0123456789.,', ''), '') div 14.5037738, '#.#')"/>
    322322                </xsl:otherwise>
    323323              </xsl:choose>
Note: See TracChangeset for help on using the changeset viewer.