RAND()

From Lianjapedia
Revision as of 08:07, 10 February 2012 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Purpose

Function to return a random number

Syntax

RAND()

See Also

GETPID(), TMPNAM(), SYS()

Description

The RAND() function returns a number in the range 1 to 2147483647. Subsequent calls to RAND() will produce different numbers, but the sequence of numbers will be the same each time.

Example

? rand()
  31466.00