number

The number function converts an object to a number and returns the number.

Syntax

number( [object] )

Parameters

object (optional)

The object to be converted to a number. If this argument is omitted, the current context node will be used.

Return value

The resulting number after converting the object.

Description

Specifications

XPath 1.0 4.4

Gecko support

Supported.