How would I scale random numbers to say 1-10 whithout loosing the randomness?
I know, just using % 10 is not a good idea.
And in addition, I need a seed value, so I can test on determinsitic numbers,
but I have not understood what value this seed should have and I how it influences the sequence.
Is there a difference if it is high or low ?
thanks in advance.
Aucun commentaire:
Enregistrer un commentaire