Carrot reference
Functions

random()

Returns a random Number between 0 and 1.

Syntax

random()

Sample usage

random() returns a random Number value between 0 and 1. No arguments are passed by this function. Input arguments will not be considered when returning a random Number value between 0 and 1.

Updated 04 Oct 2023
Doc contributor
Did this page help you?