Hello there !
I need to generate random numbers starting from 20 to 200.
Is there a way to do this with the roll dice ?
Hello there !
I need to generate random numbers starting from 20 to 200.
Is there a way to do this with the roll dice ?
Hi @Korbib
You could probably do this easily in two steps:
Create a Roll Dice column with the value 180 in Sides
Add a Math column to add 20 to this result
There is also another option, with a Random Number column (and a Math one after that again). The formula to apply is - in your case - the following: CEILING(random*180) + 20
Last important point: in both cases (Rool Dice & Random Number), you have the Seed argument to define.
If you use a fixed value, such as the Row ID
, the result will always be the same for this specific row.
If you want the random value to be different, a common way to make it works is to use the Current time value or something that can change over time, when the user hits a button for instance.
Ho yes !
Thatβs exactly what I wanted
Merci mβsieur
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.