BIS fnc pow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (Fix comment)
Line 19: Line 19:
|[[Number]] - value1 ^ value2 |Return value=
|[[Number]] - value1 ^ value2 |Return value=


|x1= <code>[2, 10] [[call]] [[BIS_fnc_pow]]; {{codecomment|// returns 2^10 = 1024}}</code> |Example 1=
|x1= <code>[2, 10] [[call]] [[BIS_fnc_pow]]; {{codecomment|// returns 2^10 {{=}} 1024}}</code> |Example 1=


| [[Operators]], [[:Category:Command Group: Math|Math Commands group]], [[a ^ b]] |See also=
| [[Operators]], [[:Category:Command Group: Math|Math Commands group]], [[a ^ b]] |See also=

Revision as of 13:51, 17 August 2019

Hover & click on the images for description

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