xdmp.integerToHex( val as Number ) as String
Returns a hexadecimal representation of an integer.
xdmp.integerToHex(1234567890); => "499602d2"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.