Is there a way to generate random numbers using only the built-in functions in Architect and not rely on an external source such as a webservice?
One option would be to grab the current second and use the modulus operator (%) to get a random number of the right size. 60 is divisible by 2,3,4,5,6,10,12,15,20 and 30 so it would cleanly support a random number of those sizes.
--Jason
4 Likes
Thank you so much for the tip Jason!
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.