Math, asked by arnavtete, 9 months ago

what are floor functions?​

Answers

Answered by fazaltraders2929
2

In mathematics and computer science, the floor function is the function that takes as input a real number and gives as output the greatest integer less than or equal to , denoted . Similarly, the ceiling function maps to the least integer greater than or equal to , denoted .

Answered by sujayG17
0

In Computer Science, the floor function is used for returning the greatest integer, less than or equal to, the original number. In this function, the computer takes the original value as a real number.

For eg:- (In Java)

x=math.floor(17.5);

System.out.print(x);

This returns an output of 17.0

HOPE IT HELPS

Similar questions