Differentiate between floor () and ceil () method of Math class
it's argent
Answers
Answered by
1
Answer:
floor () always gives a value less than the given number.
ceil() always gives a value greater than the given number.
please mark brainliest
Answered by
1
Answer: While the Math. ceil method returns the smallest integer greater than or equal to the value we pass, Math. floor returns the largest or equal integer that is less than the given value.
now mark me as brainiest
Similar questions