BIS fnc lowestNum: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Undo revision 97791 by Revo (talk) premature, the function is getting an update)
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 16:23, 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