The <xsl:decimal-format>
element defines the characters and symbols that are to be used in converting numbers into strings using theformat-number( )
function.
<xsl:decimal-format name=NAME decimal-separator=CHARACTER grouping-separator=CHARACTER infinity=STRING minus-sign=CHARACTER NaN=STRING percent=CHARACTER per-mille=CHARATER zero-digit=CHARACTER digit=CHARACTER pattern-separator=CHARACTER />
None.
name
decimal-separator
.
).grouping-separator
,
).infinity
Infinity
".minus-sign
-
).NaN
NaN
".percent
%
).per-mille
‰
).zero-digit
0
).digit
#
).pattern-separator
;
).Top-level, must be the child of <xsl:stylesheet>
or <xsl:transform>
.
XSLT, section 12.3.
Supported as of 1.0 (Mozilla 1.0, Netscape 7.0).
© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XSLT/decimal-format