Changeset 5174ac5 in subsurface


Ignore:
Timestamp:
Apr 1, 2017, 8:06:09 AM (8 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
b585f65
Parents:
2f721cb
git-author:
Miika Turkia <miika.turkia@…> (03/28/17 21:20:01)
git-committer:
Dirk Hohndel <dirk@…> (04/01/17 08:06:09)
Message:

Limit max depth precision on CSV import

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xslt/manualcsv2xml.xslt

    r2f721cb r5174ac5  
    358358                </xsl:when>
    359359                <xsl:otherwise>
    360                   <xsl:value-of select="translate(translate($maxDepth, translate($maxDepth, '1234567890,.', ''), ''), ',', '.') * 0.3048"/>
     360                  <xsl:value-of select="format-number(translate(translate($maxDepth, translate($maxDepth, '1234567890,.', ''), ''), ',', '.') * 0.3048, '#.##')"/>
    361361                </xsl:otherwise>
    362362              </xsl:choose>
Note: See TracChangeset for help on using the changeset viewer.