Arma 3 Scripting

BIS_fnc_greatestNum

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Function · also in Math · Markdown · JSON · original wiki page

Description

Returns the greatest number out of the passed set.

Syntax

numbers call BIS_fnc_greatestNum

Parameters:

Returns: Number - greatest number in the set

Examples

Example 1

private _result = [7,2,1,5,10] call BIS_fnc_greatestNum; //_result = 10

See also

BIS_fnc_lowestNum · BIS_fnc_findExtreme · selectMin · selectMax