Decimal format node
When you are working in the
Development Studio XSLT transform editor, the Decimal format node can be used to define the characters and symbols to be used when converting numbers into strings.
The Name defined for this node is used in XPath expressions with the format\-number function. This is a top\-level node and can only be a child node of Stylesheet. Multiple Decimal Format nodes can be placed in a single Stylesheet, each with a unique name.
The following table lists the Decimal format node properties.
Field | Description | Required |
---|---|---|
Name | The unique name for this format. | No |
Infinity | Defines the string used to represent infinity. Default value: Infinity | No |
Decimal Sep | Defines the character for the decimal point. Default value: . | No |
Grp Sep | Defines the character for the thousands separator. Default value: , | No |
Mile | Defines the character for the per thousand sign. Default value: 0/00 | No |
Digit | Defines the character to use when indicating a digit is required. Default value: # | No |
Zero | Defines the character to use for the digit zero. Default value: 0 | No |
Pattern Sep | Defines the character used to separate positive and negative sub patterns in a format pattern. Default value: ; | No |
Percent | Defines the character to use as a percentage sign. Default value: % | No |
NaN | Defines the string to use when the value is not a number. Default value: NaN | No |
Minus | Defines the character to use to indicate negative numbers. Default value: - | No |