MarkLogic 10 Product Documentation
xdmp:hex-to-integer

xdmp:hex-to-integer(
   $hex as xs:string
) as xs:integer

Summary

Parses a hexadecimal string, returning an integer.

Parameters
hex The hexadecimal string.

Example

xdmp:hex-to-integer("1234567890abcdef")
=> 1311768467294899695
Powered by MarkLogic Server | Terms of Use | Privacy Policy