Name

xsl:decimal-format

Attributes

name, optional

The string by which the format-number( ) function identifies the xsl:decimal-format element to use. If this attribute is omitted, then this element establishes the default decimal format used by the format-number() function.

decimal-separator, optional

The character that separates the integer part from the fractional point in a floating-point number. This character is a period (decimal point) in English and a comma in French. It may be something else in other languages. If not specified, the default is a period.

grouping-separator, optional

The character that separates groups of digits; for example, the comma that separates every three digits in English or the space in French. If this is not specified, the comma is the default.

infinity, optional

The string that represents IEEE 754 infinity; Infinity by default.

minus-sign, optional

The character prefixed to negative numbers; a hyphen by default.

NaN, optional

The string that represents IEEE 754 Not a Number; NaN by default.

percent, optional

The character that represents a percent; % by default.

per-mille, optional

The character that represents a per mille; by default.

zero-digit, optional

The character that represents zero; 0 by default. Digits 1 through 9 will be represented by the nine subsequent Unicode values after this one. For instance, setting zero-digit to A would set 1 to B, 2 to C, 3 to D, and so on. This is also the character used to represent 0 in format patterns.

digit, optional

The character that represents a digit in a format pattern; # by default.

pattern-separator, optional

The character that separates positive and negative subpatterns in a format pattern; ; by default.