Rnd()

Last Modified: 9/8/2021

Generates a random number between 0 and Range-1.

Arguments

NameTypeRequiredDescription
Range Integer Yes The range of the random number.

Example

Syntax: Rnd(<Range>)
    Randomize
    a = Rnd(5)
    Print a

See Also

Randomize