mardi 5 mai 2015

Java generate random double

How can i generate a radom double in java?

All tutorials only show how to generate in a certain range, but i want all doubles possible. E.g. a random double in the range of Double.MIN_VALUE and Double.MAX_VALUE.

Is there something which just shuffles all bits and gives me the number?




Aucun commentaire:

Enregistrer un commentaire