BIS fnc pow: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix comment) |
m (Use a ^ b, it's 5 times faster. Added) |
||
Line 9: | Line 9: | ||
<!---|eff= local |Multiplayer Effects=---> | <!---|eff= local |Multiplayer Effects=---> | ||
| Return value1 raised to the power of value2. Identical to [[a ^ b]]. |Description= | | Return value1 raised to the power of value2. Identical to [[a ^ b]]. {{Informative|Use [[a ^ b]], it's 5 times faster.}}|Description= | ||
| [value1, value2] call [[BIS_fnc_pow]] |Syntax= | | [value1, value2] call [[BIS_fnc_pow]] |Syntax= |
Revision as of 13:04, 17 August 2019
Description
- Description:
- Return value1 raised to the power of value2. Identical to a ^ b.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [value1, value2] call BIS_fnc_pow
- Parameters:
- value1: Number
- value2: Number
- Return Value:
- Number - value1 ^ value2
Examples
- Example 1:
[2, 10] call BIS_fnc_pow; // returns 2^10 = 1024
Additional Information
- See also:
- OperatorsMath Commands groupa ^ b
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