floor()
Math / CalculationDescription
Calculates the closest integer that is less than or equal to the value of the parameter.
Syntax
float floor(float x)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | number to evaluate |
Returns
floatRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...