Skip to content

The "Random Number" Node ​

Generates a (pseudo) random number between a given minimum and maximum, including both. Not cryptographically secure.

NOTE

Note that when (maximum - minimum) is not divisible by step, maximum is not inclusive. E.g. with minimum := 1, maximum := 10, and step := 2, the maximum possible number is 9, because that's the largest multiple of step (2) on top of the minimum (1 + (4*2))

Random Number

  • Result
  • Minimum
  • Maximum
  • Step

Inputs ​

  • Minimum − Lowest number in range to generate.
  • Maximum − Highest number in range to generate.
  • Step − Step size, effectively rounding of the output number. Setting this to 1 only outputs whole numbers.

Outputs ​

  • Result − A random number given the parameters.