Computer Science, asked by nishidesai, 5 months ago

difference between round and floor with suitable ​

Answers

Answered by kiaralewis92
1

Answer:

Hope it helps

Explanation:

Hi, floor() rounds the number down to the nearest multiple of the specified significance. ... The ceiling() function rounds the number up to the nearest multiple of the specified significance but in case of ceiling, the number will be rounded to the lowest multiple of the significance that is greater than the number.

Answered by bn661293
1

Answer:

floor() just cuts of the decimal digits of a number or if you prefer returns the largest possible integer N that is smaller or equal to your number.

For example

floor(8.34)=8

round() is returning the closest integer to the number

for example

round(4.7)=5

Mark me as the brainlest plz....

Similar questions