Computer Science, asked by Anonymous, 10 months ago

Whats is Math.ceil
Math.ring
Math. Float
With one example plz i need it

Answers

Answered by nikitasinhalko
1
Math.ceil rounds up a decimal to an integer.
For eg. Math.ceil(4.2) = 5

Math.rint simply rounds the decimal no. to the closest integer.
For eg.Math.rint(4.2) = 4
Eg 2. Math.rint (4.7) = 5

Math.floor rounds down the decimal no. to previous integer.
For eg. Math.floor(4.8) = 4

Hope it helps you...please mark as brainliest
Similar questions