BIS fnc greatestNum: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
No edit summary
Line 52: Line 52:
[[Category:{{Name|tkoh}}: Functions|{{uc:greatestNum}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:greatestNum}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:greatestNum}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:greatestNum}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on November 4, 2016 - 13:38 (UTC)</dd>
<dt class="note">[[User:Revo|Revo]]</dt>
<dd class="note">
[[selectMax]] is about x8 faster than '''BIS_fnc_greatestNum'''<br>
<br>
0.0019 ms [[selectMax]]<br>
0.0157 ms '''BIS_fnc_greatestNum'''<br>
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 15:38, 4 November 2016


Hover & click on the images for description

Description

Description:
/************************************************************
	Find Greatest Number

Parameters: [number set]
Returns: number

Returns the highest number out of the passed set.

Example: [1,5,10] call BIS_fnc_greatestNum
	returns 10
************************************************************/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
BIS_fnc_lowestNumselectMinselectMax

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section

Posted on November 4, 2016 - 13:38 (UTC)
Revo
selectMax is about x8 faster than BIS_fnc_greatestNum

0.0019 ms selectMax
0.0157 ms BIS_fnc_greatestNum