Created
July 3, 2012 15:18
-
-
Save lukehedger/3040396 to your computer and use it in GitHub Desktop.
XSL - Format numbers as absolute values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Formatting a number with '#.##;#.##' will return the absolute value --> | |
<xsl:variable name="absoluteValue" select="format-number($originalValue,'#.##;#.##')"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment