Changeset 2f721cb in subsurface


Ignore:
Timestamp:
Apr 1, 2017, 8:06:09 AM (8 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
5174ac5
Parents:
25a628b
git-author:
Miika Turkia <miika.turkia@…> (03/28/17 21:18:44)
git-committer:
Dirk Hohndel <dirk@…> (04/01/17 08:06:09)
Message:

Limit mean depth precision on CSV import

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xslt/manualcsv2xml.xslt

    r4ced7c3 r2f721cb  
    376376                </xsl:when>
    377377                <xsl:otherwise>
    378                   <xsl:value-of select="translate(translate($meanDepth, translate($meanDepth, '1234567890,.', ''), ''), ',', '.') * 0.3048"/>
     378                  <xsl:value-of select="format-number(translate(translate($meanDepth, translate($meanDepth, '1234567890,.', ''), ''), ',', '.') * 0.3048, '#.##')"/>
    379379                </xsl:otherwise>
    380380              </xsl:choose>
Note: See TracChangeset for help on using the changeset viewer.