MarkLogic 10 Product Documentation
xdmp:integer-to-binaryxdmp: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: Get the most useful answers to questions from the MarkLogic community, or ask your own question.