round()
Math / CalculationDescription
Calculates the integer closest to the parameter.
Syntax
float round(float x)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | number to round |
Returns
floatRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...