how do random numbers on computers work?

1.42K views

For example, is there a formula for a random number?

In: 47

75 Answers

Anonymous 0 Comments

Lots of good answers, but I haven’t set anyone with the simplest answer yet, so here it is. If you take the time to as many decimals as you pc can measure and multiply it by a number to get it into the range you need. I believe this is how most programing languages handle it.

You are viewing 1 out of 75 answers, click here to view all answers.