Arma 3 Scripting

max

  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · 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