Create Random Float
The float.random processor will set the payload to a random float between the specified min and max value.
- type:
float.random - params:
- bitSize: (optional, default
32) bit size of the resulting float - max: exclusive maximum value of the random float
- min: inclusive minimum value of the random float
- bitSize: (optional, default
Example
Section titled “Example”This would generate a random 64-bit float between 1.1 and 1.5 and set the payload to that value.
- type: float.random params: bitSize: 64 min: 1.0 max: 1.5