BIS fnc pow: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - " it's" to " it is") |
mNo edit summary |
||
Line 5: | Line 5: | ||
|1.00|Game version= | |1.00|Game version= | ||
|gr1 = Math |GROUP1= | |||
| Return value1 raised to the power of value2. Identical to [[a ^ b]]. {{Informative|Use [[a ^ b]], it is 5 times faster.}}|Description= | | Return value1 raised to the power of value2. Identical to [[a ^ b]]. {{Informative|Use [[a ^ b]], it is 5 times faster.}}|Description= | ||
Line 24: | Line 22: | ||
}} | }} | ||
[[Category:Functions|{{uc:pow}}]] | [[Category:Functions|{{uc:pow}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:pow}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:pow}}]] |
Revision as of 16:17, 9 October 2020
Description
- Description:
- Return value1 raised to the power of value2. Identical to a ^ b.
- Execution:
- call
- Groups:
- Math
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