Home
Download
Wiki
Demo
Open Source Native XML Database
About Us
Who we are
Acknowledgements
Documentation
Quick Start
Function Library
Extension Modules
Main Documentation
Feature Sheet
XQuery Wikibook
Examples
XQuery Sandbox
XML Acronyms
Bibliographic
All Examples
Community
Mailing List/IRC
Development
Javadocs
ChangeLog
Bug Tracker
Subversion
Submit Patches
Administration
Admin
Server Status
Webstart Client
A RESTful browser for eXist Java-Based Function Modules
Modules
>
util
>
random
util
http://exist-db.org/xquery/util
A module for various utility extension functions.
random
util:random($max as xs:integer) xs:integer
Returns a random number between 0 and $max
$max
The maximum value for the random number.
Returns a random number between 0 and $max
random
util:random() xs:double
Returns a random number between 0.0 and 1.0
Returns a random number between 0.0 and 1.0
Return to list of all modules