Loading TOC...

xdmp.random

xdmp.random(
   [$max as String]
) as String

Summary

Returns a random unsigned integer between 0 and a number up to 64 bits long.

Parameters
$max The optional maximum value (inclusive).

Example

xdmp.random(100);
=> 47

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy