max()
Math / CalculationDescription
Determines the largest value in a sequence of numbers. Supports two or three arguments.
Syntax
float max(float a, float b)
float max(float a, float b, float c)
Parameters
| Name | Type | Description |
|---|---|---|
| a | float | first value |
| b | float | second value |
| c | float | third value (optional) |
Returns
floatRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...