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