0
Code about random numbers
I want to write a code for generating a random number that consists of six digits. The number should change every month, reflecting the progression of time. I appreciate any assistance or ideas on how to implement this. Thank you for your response.
2 replies
-
Hi. Use the random() function, as explained here
https://docs.ninox.com/en/script/functions-overview/functions/random
Be aware that generating random numbers is a really hard thing to do, moving into the realms of using atmospheric noise. random () will only generate a pseudo-random number but it's usually good enough for everyday needs.
Regards John
Content aside
- 1 yr agoLast active
- 2Replies
- 68Views
-
2
Following