Hi guys. The following question arose: how to make sure that random numbers are generated once a minute, say from 10 to 90?
So you want one random number generated every minute… and that number should be between 10-90…. or did you want something else?
Yes, this is exactly what I need for the assignment, but I just can’t do it.
- Create a Math column using the following formula:
Year(Now)*10^8
+ Month(Now)*10^6
+ Day(Now)*10^4
+ Hour(Now)*10^2
+ Minute(Now)
- Create a Template column that concatenates the Math column with a RowID column.
- Use that template column as the seed for a Roll Dice column with 80 sides.
- Use another math column to add 10 to the Roll Dice column
Another way is like this…
1.Add a math column with minute(now)
2.Add a roll dice column with sides 80 and use the math column for the seed.
I like this. Math column is roll+10, no?
ooops, I misread. I thought it was supposed to change every ten minutes. I’ll update my response.
Your solution is okay, except that:
- the numbers will repeat every 60 minutes
- it will give the same result on every row
The above may or may not be a problem.
Ya i just realized that will only give me 60 numbers and they could be predicted
Thank you very much! Your answers helped me and I learned some things that will be useful to me soon!
Here’s my final approach
-
Math column configured → Minute(Now)
-
JS Column grabs timestamp when user opens app
date = new Date();
return date;
-
Template column to join Math column and JS column
-
Roll dice sides 60 with the template from step 3 for the seed
In my mind this approach was for a one row table
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.