What does math.max &math.ceil stand for in java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What does math.max &math.ceil stand for in java?

20th Sep 2017, 10:55 AM
Akshat Agarwal
Akshat Agarwal - avatar
1 Answer
+ 8
Math.max(5,5.5,6,7,8);//8 Math.max stand for returning biggest number inside arguments Math.ceil(7.4);//8 Math.ceil(9.5);//10 Math.ceil(9.9);//10 Math.ceil stand for round-up number
20th Sep 2017, 11:15 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar