Skip to content

Random Integer

formatting...

Provide an random integer between specified interval.

Format

Interval from which the integer should be generated from, in the format <min>..<max>.

Example

And value for variable "AtomicRandomInteger.weight" is "10..30"

This can then be used in a template:

{
    "weight_tons": {{ AtomicRandomInteger.weight }}
}

AtomicRandomInteger.weight will then be anything between, and including, 10 and 30.