Changeset 25a628b in subsurface


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

More precision in CSV export for depths

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xslt/xml2manualcsv.xslt

    r841d1b4 r25a628b  
    207207    <xsl:choose>
    208208      <xsl:when test="$units = 1">
    209         <xsl:value-of select="concat(format-number((substring-before(@max, ' ') div 0.3048), '#.#'), ' ft')"/>
     209        <xsl:value-of select="concat(format-number((substring-before(@max, ' ') div 0.3048), '#.##'), ' ft')"/>
    210210      </xsl:when>
    211211      <xsl:otherwise>
     
    218218    <xsl:choose>
    219219      <xsl:when test="$units = 1">
    220         <xsl:value-of select="concat(format-number((substring-before(@mean, ' ') div 0.3048), '#.#'), ' ft')"/>
     220        <xsl:value-of select="concat(format-number((substring-before(@mean, ' ') div 0.3048), '#.##'), ' ft')"/>
    221221      </xsl:when>
    222222      <xsl:otherwise>
Note: See TracChangeset for help on using the changeset viewer.