Tools/random/integer

random/integer

Generate random integers within an inclusive range.

Free / no pricing configured

What it does

Returns one or more uniformly-distributed random integers between min and max, inclusive of both bounds.

Primary use cases

  • Dice rolls, lottery picks, random selection by index.
  • Generating numeric test data or sampling.

Good to know

Both bounds are inclusive. count defaults to 1 (max 1000). Values use a cryptographically-strong generator. Output is intentionally non-deterministic.

Parameters

maxintegerrequired

Upper bound (inclusive).

minintegerrequired

Lower bound (inclusive).

countintegeroptional

How many integers to generate. Defaults to 1.

random/integer — Faro