BIS_fnc_nearestNum

From Bohemia Interactive Community
Revision as of 14:52, 25 July 2014 by Str (talk | contribs) (1 revision)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/************************************************************
	Find Nearest Number

Parameters: [[number set], target number]
Returns: number

Returns the number out of the set which is closest to the target number

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

(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:
See also needed

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