Loading TOC...

xdmp:integer-to-binary

xdmp:integer-to-binary(
   val as xs:integer
) as xs:string

Summary

Returns a binary representation of an integer.

Parameters
val The integer value.

Example

xdmp:integer-to-binary(1234567890)
=> "1001001100101100000001011010010"

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