# xsl:decimal-format

The `xsl:decimal-format` element is used at the top level of a stylesheet to indicate a set of localisation parameters. If the `xsl:decimal-format` element has a `name` attribute, it identifies a named format; if not, it identifies the default format.

In practice decimal formats are used only for formatting numbers using the `format-number()` function in XPath expressions. For details of the attributes available, see the XSLT specification.

Expand | Next