Author | Message |
---|---|
smehrik
Posts: 14
|
Posted 09:03 Aug 30, 2019 |
When I generate the random number for wind & rain, I get so many decimal places, do we need to round the random number into 2 decimal places or not? |
jhurley
Posts: 207
|
Posted 09:56 Aug 30, 2019 |
different precisions is OK. If it bothers you, you can use either String.format() or printf with formatting codes |