New automatic variable: Random float

We offer a variety of automatic variables which are available for use in Multi-step API and transaction monitors.

Now we’ve also added support for generating a random float. A float is a shortened term for “floating point.” Floating point numbers get their name from the way the decimal point can “float” to any position necessary. 50.3233 is an example of a float.

The notation for using this automatic variable is: {{@RandomFloat(min,max)}} where the precision (number of digits after the decimal point) is derived from the highest precision of the min and max values used.

If for example, you’d like to generate a random float between -1.2 and 3.0 with a precision of 5, use the following variable: {{@RandomFloat(-1.2,3.00000)}}

By using the Uptrends website, you consent to the use of cookies in accordance with our Cookie Policy.