+ 1

how to fix decimal places to two?

8th Apr 2019, 1:20 PM
Nur Suriani
Nur Suriani - avatar
2 Answers
+ 2
Double number; number = Math.rint(number * 100) / 100;
8th Apr 2019, 10:05 PM
Denise Roßberg
Denise Roßberg - avatar
8th Apr 2019, 1:44 PM
Seniru
Seniru - avatar