This document is no longer available beyond version 4. Information can now be found here: Random for version 5

This documentation page references Altium NEXUS/NEXUS Client (part of the deployed NEXUS solution), which has been discontinued. All your PCB design, data management and collaboration needs can now be delivered by Altium Designer and a connected Altium 365 Workspace. Check out the FAQs page for more information.

Parent page: System Query Functions - System Functions


Returns a random number between 0 and X-1.


Random(X) : Number

Example Usage

Returns a value between 0 and 9.

Returns a value between 0 and 99.


If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.