BIS_fnc_roundNum

From Bohemia Interactive Community
Revision as of 00:39, 1 February 2021 by Lou Montana (talk | contribs) (Text replacement - " " to " ")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Math

Syntax

Syntax:
Syntax needed
Parameters:
number: Number - Number that should be rounded.
factor: Number - Factor
secondary factor: Number - (optional) Secondary factor, used when number / primary factor is smaller than 10 (scalar).
Return Value:
Return value needed

Examples

Example 1:
[10.254,2,3] call BIS_fnc_roundNum;//Returns 9
Example 2:
[10.254,1,3] call BIS_fnc_roundNum;//Returns 10

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