Loading TOC...

xdmp.integerToBinary

xdmp.integerToBinary(
   $val as Number
) as String

Summary

Returns a binary representation of an integer.

Parameters
$val The integer value.

Example

xdmp.integerToBinary(1234567890);
=> "1001001100101100000001011010010"

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