Max - Math
Member of: Math Script
Returns the larger of the two values passed in.
SyntaxEdit
float Function Max(float afValue1, float afValue2) global
ParametersEdit
- afValue1: The first value.
- afValue2: The second value.
Return ValueEdit
The larger of the two values
ExamplesEdit
int a = Max(10, 15) ; a == 15
int b = Max(-1.5, -3) ; b == -1.5