BIS fnc randomInt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " +" to " ")
Line 29: Line 29:
|seealso= [[BIS_fnc_randomNum]], [[BIS_fnc_arithmeticMean]], [[BIS_fnc_geometricMean]], [[BIS_fnc_nearestNum]], [[BIS_fnc_sortNum]], [[BIS_fnc_roundNum]]
|seealso= [[BIS_fnc_randomNum]], [[BIS_fnc_arithmeticMean]], [[BIS_fnc_geometricMean]], [[BIS_fnc_nearestNum]], [[BIS_fnc_sortNum]], [[BIS_fnc_roundNum]]
}}
}}


[[Category:{{Name|arma2}}: Functions|{{uc:randomInt}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:randomInt}}]]

Revision as of 00:31, 11 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Math

Syntax

Syntax:
Syntax needed
Parameters:
min: Number - minimum value, included
max: Number - maximum value, included
Return Value:
Number

Examples

Example 1:
[1,3] call BIS_fnc_randomInt; // will return 1, 2 or 3

Additional Information

See also:
BIS_fnc_randomNumBIS_fnc_arithmeticMeanBIS_fnc_geometricMeanBIS_fnc_nearestNumBIS_fnc_sortNumBIS_fnc_roundNum

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