ICSE Class 10 Computer Applications
Question 7 of 30
Solved Sample Paper 1 — Question 7
Back to all questions 7
Question Question 1(vii)
Give the output of Math.ceil(-0.6)
- -1.6
- -1.5
- -1.0
- -0.0
-0.0
Reason — Math.ceil method returns the smallest double value that is greater than or equal to the argument and is equal to a mathematical integer. Thus, Math.ceil(-0.6) returns -0.0.