MarkLogic 9 Product Documentation
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"
Powered by MarkLogic Server | Terms of Use | Privacy Policy