Loading TOC...

MarkLogic Server 11.0 Product Documentation
xdmp:binary-to-integer

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

Summary

Parses a binary string, returning an integer.

Parameters
binary The binary string.

Example

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

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