How to Create a Useful Random Number in Javascript

Submitted by Web Cash » Javascript's built in randomizer returns a probability - a random value between 0 and 1. You need to do a little extra work to get a random number that's use-able for picking a random item from a list or working into a game design. This tutorial will show you the standard formula for creating a useful random number from that original randm value.
Rating: 3.3/5 | 340 clicks | 0 comments | 0 saves | share | report

Comments on this tutorial

Discuss this tutorial

You must be logged in to comment on a tutorial.