+ 3

how 'Math.ceil ' works in java?

give some examples of working of Math.ceil.... in java.

14th Jan 2019, 3:11 PM
suman Kayal
suman Kayal - avatar
1 Answer
+ 3
floor(12.999) == 13 floor(345.34) == 346 It just rounds up.
14th Jan 2019, 4:01 PM
Maneren
Maneren - avatar