The number
function converts an object to a number and returns the number.
The number
function converts an object to a number and returns the number.
number( [object] )
object
(optional)The object to be converted to a number. If this argument is omitted, the current context node will be used.
The resulting number after converting the object.
Supported.
© 2005–2022 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XPath/Functions/number