Definition
The random integer transformer generates a random integer.
For example:
6782
By default, the random int transformer generates an integer of 4 digits long.
Configurations
Depending on your validations, you may want to configure the output integer. The random integer transformer has the following configurations:
Name | Description | Default | Example Input | Example Output |
---|---|---|---|---|
Preserve Length | Preserves the length of the input integer to the output integer. | false | 12334 | 78223 |
Integer Length | Specifies how many digits you want the integer to be. This has a max of 18 digits. | 4 | 7 | 2782736 |
Examples
There are several ways you can mix-and-match configurations to get different potential random integer formats. Here are some possible combinations:
PreserveLength | Integer Length | Example Input | Example Output |
---|---|---|---|
false | 5 | 87242 | 23324 |
true | N/A | 9183 | 6721 |
false | N/A | 51 | 5419 |