What are Math Variables?

Rita Pang
Rita Pang
  • Updated

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 [01) (inclusive of 0, but not 1). Users may use the following formula to generate an integer pseudo-random number in the range [minmax] (inclusive of both, min and max):

mceclip0.png

Users may copy and paste the formula's code into a field:

{{floor(random * (1.max - 1.min + 1)) + 1.min}}

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.