Loading TOC...

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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.