A "Random" function is a mathematical variable which allows users to randomize certain outcomes in their scenarios. An example would be to randomize a number for the end-user in a game of dice or cards.
Random
This function returns a floating-point, pseudo-random number in the range [0
, 1
) (inclusive of 0
, but not 1
). Users may use the following formula to generate an integer pseudo-random number in the range [min
, max
] (inclusive of both, min
and max
):
Users may copy and paste the formula's code into a field:
{{floor(random * (1.max - 1.min + 1)) + 1.min}}
Comments
0 comments
Article is closed for comments.