MarkLogic 9 Product Documentation
sem:random

sem:random() as xs:double

Summary

Returns a random double between 0 and 1. This XQuery function backs up the SPARQL RAND() function.

This function is a built-in.

Example

sem:random()
=>
0.462153059928251
Powered by MarkLogic Server | Terms of Use | Privacy Policy