Loading TOC...

xdmp:integer-to-hex

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

Summary

Returns a hexadecimal representation of an integer.

Parameters
val The integer value.

Example

xdmp:integer-to-hex(1234567890)
=> "499602d2"

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