RANDBETWEEN: Get Random Number Between Two Numbers

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RANDBETWEEN.R

Description

Given a range of numbers, get a random number in that range. If a non-integer numeric is given, will round to the nearest whole number.

Usage

1
RANDBETWEEN(low, high)

Arguments

low

Lowest integer that should be included in the range.

high

Highest integer that should be included in the range.

Value

Returns an integer in the range of numbers.

Author(s)

Nick Bultman, njbultman74@gmail.com, August 2021

See Also

sample

Examples

1
2
RANDBETWEEN(0, 5)
RANDBETWEEN(-5, 100)

njbultman/xlsxFunctions documentation built on Aug. 8, 2021, 3:14 p.m.