ZVON > References > XSLT Reference
Go to standard

XSLT function: string format-number (number, string, string?)

Standard excerpt:

The format-number function converts its first argument to a string using the format pattern string specified by the second argument and the decimal-format named by the third argument, or the default decimal-format, if there is no third argument. The format pattern string is in the syntax specified by the JDK 1.1 DecimalFormat class. The format pattern string is in a localized notation: the decimal-format determines what characters have a special meaning in the pattern (with the exception of the quote character, which is not localized). The format pattern must not contain the currency sign (#x00A4); Examples (xslt:xml): Overview
67:2 68:2 69:2 70:2 71:2 72:2

Interactive xlab: [format number] [xsl:value-of] [xsl:template]