Floor number

library operator
ID: 185635e5-7d49-4590-b6c8-5d9989ab7067
Emits the greatest integer less than or equal to a given number.


Test data showing the behavior of Floor number

Positive numbers

It returns the floored positive number.

Input Output
1.4 1
0.3 0
135.74 135
Negative numbers

It returns the floored negative number.

Input Output
-1.4 -2
-0.3 -1
-135.74 -136


The implementation of Floor number makes use of the following 1 operators.

Evaluates an expression.