Syntax

RANDBETWEEN(lower-bound, upper-bound)

Description

RANDBETWEEN() generates a random integer between lower-bound (of any numeric type) and upper-bound (of any numeric type), inclusive.

Return Value

A Number value: a randomly-chosen integer no less than lower-bound and no greater than upper-bound.

Did this answer your question?