© Copyright 2023, Astera Software
Example
In this example, we are passing min and max values to the function transformation object using a Variables object.
Where,
min = 1
max = 5
In the Data Preview window, you can see that a random real value, which falls within the provided min and max values, has been generated.
Name
RandomReal
Syntax
RandomReal (Integer min, Integer max)
Purpose
To generate a random number.
Description
Generates a random number within a range defined by min and max values.
Return Type
Real
Parameters
min [System.Int32] – Minimum number to return
max [System.Int32] – Maximum number to return