XSLT format-number() Function
Complete XSLT function reference
Definition and Usage
The format-number() function is used to convert a number into a string.
Syntax
string format-number(number,format,[decimalformat])
Parameters
| Parameters | Description |
|---|---|
| number | Required. Specifies the number to format. |
| format | Required. Specifies the formatting pattern. These are the characters used in the formatting pattern:
|
Example 1
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
View the XSL file、 View the result。
Complete XSLT function reference