number($arg)
The number()
or number($arg)
function returns the value indicated by $arg
. If there is no argument specified, the context item will be used after atomisation. The value is converted to an xs:double
.
Arguments
Argument | Type |
---|---|
$arg | xs:anyAtomicType |
Return value | xs:double |