Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I'm aware that the google.com omnisearch textbox is capable of doing maths.

However, is it capable of giving me a random number? (I'm too lazy to roll a dice.)

share|improve this question

migrated from superuser.com Jun 13 '11 at 16:22

This question came from our site for computer enthusiasts and power users.

3 Answers 3

up vote 8 down vote accepted

I can't find anything to suggest that you can do it with Google, but random.org has a random number generator on their home page that you can select start and end values and "roll" to get a number between.

They also have coin flippers and other random number related stuff.

Looks like the google calculator has a lot of features but random numbers is not one of them.

share|improve this answer

Google does not have a function of random number generation. Instead, you can use Wolfram Alpha.

For example, this query generates a random real number between 0 and 1. Again, this query generates a random integer number between 0 and 100.

share|improve this answer

Bookmark the following link. It will generate a random number between 1 and ? from your browser.

javascript:alert%28Math.ceil%28Math.random%28%29*%28prompt%28%271-?%27,%276%27%29*1%29%29%29
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.