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