rand function

This 2019.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Syntax

  • float rand()
  • float rand(max)
  • float rand(min, max)

Returns

A random value in [min, max]. The value depends on the current shape's seedian.

Description

The rand function returns a random value in the selected range. Defaults are 0 for min and 1 for max.

Related


In this topic