RandBetweenI(Bottom: Variant, Top: Variant)
Bottom. The least integer number returned by the RandBetweenI function.
Top. The greatest integer number returned by the RandBetweenI function.
It returns a random integer number between two specified integer numbers
Formula | Result | Application |
= RandBetweenI(Min({Brazil|BCA}), Max({Brazil|BCA})) | The random number from the range: minimum value of the Brazil|BCA factor - maximum value of the Brazil|BCA factor. An error occurs if the factor contains real values. |
It can be used in formulas of calculated series of time series database and model formulas of modeling container that is a child of the time series database. |
= RandBetweenI(Min(X1),0) | The random number that is placed between minimum value of the X1 factor and zero. |
It can be used in model formulas of modeling container. |
See also:
Functions Available in Expression Editor │ Arithmetic Functions │ IModelling.RandBetweenI