Math.random() give a pseudorandom number on the interval (0 ; 1]. But I wanted to generate in other intervals, such as, (0.5 ; 0.6) or (0.7; 1] or (0.8 ; 1) etc.
Aucun commentaire:
Enregistrer un commentaire