XSLT » XPath Core Functions » number

Syntax:
number = number(value)

The number function converts the value argument to a number. The value argument is optional. If omitted, the default is to use the string value of the context node.