Math.ceil(-8.23).please tell me fast find the value of this expression
Answers
Answered by
2
-8.0
The above will be your output.
Why so?
==> Math.ceil() rounds the given number to the nearest higher integer.
More Math class methods::
- Math.round(x) rounds x to the nearest integer.
- Math.floor(x) rounds x to the nearest lower integer.
- Math.sqrt(x) finds the square root of x.
- Math.pow(x, y) raises x to the power of y.
- Math.max(x, y) finds whether x is greater or y.
- Math.min(x, y) finds whether x is smaller or y.
I hope that my answer helps you...
Similar questions
Social Sciences,
3 hours ago
Physics,
3 hours ago
World Languages,
3 hours ago
Math,
5 hours ago
Biology,
8 months ago
Psychology,
8 months ago