abs()
Math / CalculationDescription
Calculates the absolute value (magnitude) of a number.
Syntax
float abs(float x)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | number to process |
Returns
floatRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...