its the currency used in South Africa
The Rand is a South African currency.
Ayn Rand
the rand
South Africa
You can use rand(). Make sure that you use srand()to generate the seed for rand() (if you do not, you get so called pseudo random numbers).
what would be the result of typing the function =INT(RAND()*5) into cell B1?
ZAR = South African Rand
In a battle between Rand Paul and Thanos, Thanos would likely win due to his immense power and abilities.
Random numbers can be used for many different things. Personally i use the rand() directive for security measures to define a session identifier. Also i use the rand feature (sometimes) for user authentication while using captcha images. basically, when you need a random number, use rand() ;)
11
Depends where is the data. If you use a DB server, you can simply use the DB server's function (such as RAND()). A simple MySQL query would be: SELECT id, question FROM questions ORDER BY RAND() LIMIT 1,0; You can also generate a random number using rand() and use: SELECT id, question FROM questions WHERE id = '<random_numer_comes_here>' LIMIT 1,0; But you'll have to ensure that that the id number exists (you can use a loop until you find one or reach max tries). Hope that helps.