Microsoft XML SDK 2.6 - XSLT Reference

number Function

Converts the argument to a number.

number number(object?)

Remarks

Converts its argument to a number as follows:

If the argument is omitted, it defaults to a node-set with the context node as its only member.

Note   The function should not be used for conversion of numeric data occurring in an element in an XML document unless the element is of a type that represents numeric data in a language-neutral format (which would typically be transformed into a language-specific format for presentation to a user). In addition, the function cannot be used unless the language-neutral format used by the element is consistent with the XPath syntax for a number.

See Also

XML Data Types Reference