Loading TOC...

xdmp:mul64

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

Summary

Multiply two 64-bit integer values, discarding overflow.

Parameters
x The first value.
y The second value.

Example

xdmp:mul64(15107650474313474666,13290239292956375463)
=> 1404109880107289894

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