Toggle Navigation
Games
Blog
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
Contact us
Help center
Sign in
Study
Math Methods in Java
0
%
0
0
0
Back
Restart
What is the output of Math.ceil(3.2)
4.0
Oops!
Okay!
A warehouse packs boxes with whole items only. If you have 9.8 items worth of material, how many full boxes can you fill?
9
Oops!
Okay!
System.out.println(Math.round(-2.5));
-2
Oops!
Okay!
A student’s average is 76.7. Round it using Math.round()
77.0
Oops!
Okay!
What is the result of Math.round(3.6)
4
Oops!
Okay!
Compute the result of Math.floor(0.99)
0.0
Oops!
Okay!
Evaluate Math.ceil(-4.7)
-4
Oops!
Okay!
What will Math.ceil(0.001) return
1.0
Oops!
Okay!
System.out.println(Math.abs(-5));
5
Oops!
Okay!
Evaluate Math.floor(-2.3)
-3.0
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies