-
Jump to navigation
Jump to search
Description
- Description:
- Description needed
- Groups:
- Math
Syntax 1
- Syntax:
- Syntax needed
- Parameters:
- numberA: Number
- numberB: Number
- Return Value:
- Return value needed
Syntax 2
Syntax 3
Examples
- Example 1:
_result = 10 - 7; // result is 3
- Example 2:
_numA = 4; _numB = -_numA; // result is -4_numB = -_numB; // result is 4
- Example 3:
_result = [1, 2, 2, player, "String"] - [2, player, player, "String"]; // _result is [1]
- Example 4:
_result = [0, [0], [[0]]] - [0]; // [[0],[[0]]]
- Example 5:
_result = [0, [0], [[0]]] - [[0]]; // [0,[[0]]] - Since Arma 3_result = [0, [0], [[0]]] - [[[0]]]; // [0,[0]] - Since Arma 3
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