YouTip LogoYouTip

Xsl Func Formatnumber

# XSLT format-number() Function * * Complete XSLT Function Reference Object](#) * * * ## Definition and Usage The format-number() function is used to convert a number into a string. * * * ## Syntax string format-number(number,format,) ## Parameters | Parameter | Description | | :--- | :--- | | number | Required. Specifies the number to format. | | format | Required. Specifies the formatting pattern. These are the characters used in the formatting pattern: * 0 (digit) * # (digit, zero shows as empty) * . (position of decimal point. Example: ###.##) * , (grouping separator for thousands. Example: ###,###.##) * % (display number as percentage. Example: ##%) * ; (pattern separator. First pattern for positive numbers, second pattern for negative numbers) | | decimalformat | Optional. | ### Example 1




(#)、 (#). * * Complete XSLT Function Reference Object](#)
← Func FunctionavailableFunc Elementavailable β†’