Question regarding floor example

Jaros
New Member

@Steve I was reading the information regarding the FLOOR expression

Examples

FLOOR(3.14) : 3

FLOOR(-3.14) : -4

FLOOR(5) : 5

Is the second one right? Should it not be -3?

Solved Solved
0 4 153
1 ACCEPTED SOLUTION

4 REPLIES 4

Return Value

Floor(x)

Number : The nearest integer less than or equal to x .

No, This is how FLOOR() expression is going to return the vaue

Thanks for answering. I thought FLOOR would choose the lowest of the two integers displayed. But in the example the result is lower than the number displayed. So maybe I have misunderstood the Function of this expression. How does it arrive at -4?

Jaros
New Member

Thank you, I get it now

Top Labels in this Space