{"name":"BIS_fnc_greatestNum","title":"BIS fnc greatestNum","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_greatestNum","revid":326905,"updated":"2022-07-12T21:44:38Z","groups":["Arrays","Math"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Returns the greatest number out of the passed set.","syntaxes":[{"syntax":"numbers call BIS_fnc_greatestNum","params":[{"name":"numbers","type":"Array","description":"a set of numbers","type_expr":"Array"}],"returns":{"type":"Number","type_expr":"Number","description":"greatest number in the set"}}],"examples":[{"code":["private _result = [7,2,1,5,10] call BIS_fnc_greatestNum; //_result = 10"]}],"see_also":["BIS_fnc_lowestNum","BIS_fnc_findExtreme","selectMin","selectMax"]}