fgl_random()

fgl_random() generates a random number between (and including) two minimum and maximum numbers passed to it.

This function takes two parameters – min and max. These values are the start and end values of the range between which you would like to find a random number, inclusive of min and max. The value returned is of the FLOAT data type, to receive an integer random number assign the value to an INTEGER variable.

For example, to generate a random number in the range 1 to 10:

  LET value = fgl_random(1, 10)

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.