Function Name:
Random
Purpose:
The Random function Returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0. Returned values are chosen pseudorandomly with (approximately) uniform distribution from that range.
Example values returned by this function:
0.7611968702330243
0.02226125037160276
Configuration:
1. Enter a Display label for the node. This will be helpful with identifying the node when viewing your Entity Pipeline.
2. Enter a Description that will explain what the function is configured to do.
Example:
This function can be used to generate a random number within a certain range. As an example, if you wanted to randomly generate a number from 0 to 100 you could setup your pipeline with the Random Number >> Multiply >> Floor functions like this:
Since we want to generate a random number from 0 to 100, the Multiply function in this example should be configured to multiply the Random Number by 101. You can set the value on the Multiply function to be 1 more than the top value in your range:
The Floor function in the pipeline is set to be able to return whole numbers. This should return an end result of a number between 0 and 100.