Arma 3 Scripting

Command in Math

max

Also available as Markdown and JSON, or read the original wiki page.

Description

The greater value of a and b.

Syntax

a max b

Parameters:

Returns: Number

Examples

Example 1

3 max 2; // Result is 3

Example 2

-3 max -2; // Result is -2

See also

min · selectMin · selectMax · ceil · floor · linearConversion · Math Commands