This tag is for questions pertaining to random numbers and their generators, whether pseudo-random or truly random.
Consider: var myArray = ['January', 'February', 'March']; How can I select a random value from this array using JavaScript?
javascript randomHow do I generate a random number between 0 and n?
ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-4 randomI'm trying to make a game with dice, and I need to have random numbers in it (to simulate the …
c++ randomHow can I best write a query that selects 10 rows randomly from a total of 600k?
mysql sql randomHow can I request a random row (or as close to truly random as is possible) in pure SQL?
sql randomI'm a Java head mainly, and I want a way to generate a pseudo-random number between 0 and 74. In Java I …
objective-c randomI'm currently generating an 8-character pseudo-random uppercase string for "A" .. "Z": value = ""; 8.times{value << (65 + rand(25)).chr} but it …
ruby random passwordsHow do I generate random floats in C++? I thought I could take the integer rand and divide it by …
c++ random floating-point