Magnificat
Technical User
Is it possible to seed a random number generator in JavaScript (so that, say, you can generate a seed from the date so that the results from the generator are the same on any given day)? I've tried putting the seed as a parameter in the Math.random() function, but that gets me nowhere. I realize that people have written random number generators that can be seeded, and I could probably fix up something of my own, but I'd rather not have to stick in a bunch of code just to generate a random number. So is there any way to provide a seed for a function such as Math.random()?