.. _format-number: ============= format-number ============= Format a number Description ~~~~~~~~~~~ The fn:format-number function formats $value as a string using the picture string specified by $picture and $decimal-format-name or the default decimal-format, if there is no $decimal-format-name argument. The syntax of the picture string is described in section 16.4.2 of the XSLT 2.0 recommendation. Note: this is an XSLT-only function; it is not available in XQuery or XPath. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - value:numeric() - * - picture:string() - * - decimal-format-name:string() - See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`functx_pad-integer-to-length`.