I want to randomize a float that has 95% chans to be about 1 and 0.01% chans to be 0.1 or 1.9 and never becomes 0 or 2. Is this possible by using Random nextFloat() several times for example?
Aucun commentaire:
Enregistrer un commentaire