ArcBasicDocs

Rnd

Random float between from and to.

Rnd ( from#[,to#] )

Parameters

from#
one end of the range.
to# (optional)
the other end.

Description

Gives back a random float between two numbers. Given just one number, it picks between 0 and that number: Rnd(1) is somewhere from 0 to 1. Random numbers start the same way every run until SeedRnd is used.

See also