rand

Retrieve a random floating-point number

Syntax

rand(num)

Arguments

num An integer to use as the seed for the floating-point number.

Description

This scalar numeric function retrieves a random floating-point number (between 0.0 and 1.0) using the specified integer as the seed.  If 0 is specified, the rand function retrieves the next random floating-point number for the current seed.