Operators::floorOf()
This always rounds the number down to the greatest whole number less than or equal to the number. For example, floor(1.73) = 1 and floor(-2.74) = -3.
Syntax
Java
.floorOf(x)
Parameters
| Name | Data Type | Description |
|---|---|---|
| x | double | a value |
Return
double
