BIS fnc lowestNum: Difference between revisions

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

Revision as of 15:39, 4 November 2016


Hover & click on the images for description

Description

Description:
Returns the lowest number out of the passed set.
Arma 3
This function is obsolete since the introduction of BIS_fnc_findExtreme.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
numbers call BIS_fnc_lowestNum
Parameters:
numbers: Array - a set of numbers
Return Value:
lowestNum: Number - lowest number in the set

Examples

Example 1:
_result = [7,2,1,5,10] call BIS_fnc_lowestNum; //_result = 1

Additional Information

See also:
BIS_fnc_findExtremeselectMinselectMax

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:39 (UTC)
Revo
selectMin is about x8 faster than BIS_fnc_lowestNum

0.0019 ms selectMin
0.0157 ms BIS_fnc_lowestNum