I need to create a random number between 0.0200 and 0.120 using JavaScript. How would I do this?
I specifically am interested in floating point numbers, not whole numbers. The question linked (Generating random whole numbers in JavaScript in a specific range) specifically asks for "Generating random whole numbers", so even if some of the answers to the linked question specify how to do it for floats, it is not clear that is what they are doing. This question is clearly looking for a random number between floats and so is not a duplicate.