dimanche 24 novembre 2019

How do you generate a random decimal with decimals above 0 in Java?

I need to generate a random decimal from 0.85 to 1. I saw on other questions a lot of different methods, but all of them count on the beginning number to be 0. How do I do this?




Aucun commentaire:

Enregistrer un commentaire