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

null
    • John_Halls
    • 11 mths ago
    • Reported - view

    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

      • gold_cat
      • 11 mths ago
      • Reported - view

       Thanks for the reply from John_halls.I had some creative ideas and finished it.

Content aside

  • 11 mths agoLast active
  • 2Replies
  • 68Views
  • 2 Following