xsl:decimal-format
xsl:decimal-format
The <xsl:decimal-format>
element defines the characters and symbols that are to be used in converting numbers into strings using the format-number( )
function.
Syntax
<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 />
Required Attributes
None.
Optional Attributes
-
name
- Specifies a name for this format.
-
decimal-separator
- Specifies the decimal point character. The default is (
.
).
-
grouping-separator
- Specifies the thousands separator character. The defaul