Loading TOC...

xdmp:add64

xdmp:add64(
   $x as xs:unsignedLong,
   $y as xs:unsignedLong
) as xs:unsignedLong

Summary

Add two 64-bit integer values, discarding overflow.

Parameters
$x The first value.
$y The second value.

Example

xdmp:add64(11442580934957149475,14565934789622151058)
=> 7561771650869748917

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