Hi to Xavier and the ForeUI team,
What would be the best way to create a random number?
You should use the Math.random() function to generate the random number, it returns a decimal between 0 and 1. Here is an example of this kind of usage http://www.foreui.net/node/76
Also you can use the expression below to calculate a random number:
number = seed * 29 + 39
Where the seed can be the current second in global properties. Also here is an example http://www.foreui.net/node/64
Vivi’s solution works great! Thank you.
This question is now closed