<?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet href="../make-menu.xsl" type="text/xsl"?><html> <head> <this-is section="xsl-elements" page="decimal-format" subpage=""/> <!-- Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: xsl:decimal-format</title> <meta name="coverage" content="Worldwide"/> <meta name="copyright" content="Copyright Saxonica Ltd"/> <meta name="title" content="Saxonica: XSLT and XQuery Processing: xsl:decimal-format"/> <meta name="robots" content="noindex,nofollow"/> <link rel="stylesheet" href="../saxondocs.css" type="text/css"/> </head> <body class="main"> <h1>xsl:decimal-format</h1> <p>The <code>xsl:decimal-format</code> element is used at the top level of a stylesheet to indicate a set of localisation parameters. If the <code>xsl:decimal-format</code> element has a <code>name</code> attribute, it identifies a named format; if not, it identifies the default format.</p> <p>In practice decimal formats are used only for formatting numbers using the <code>format-number()</code> function in XPath expressions. For details of the attributes available, see the XSLT specification.</p> <table width="100%"> <tr> <td> <p align="right"><a class="nav" href="document.xml">Next</a></p> </td> </tr> </table> </body> </html>