BIS fnc pow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(created page)
 
(Page filling)
Line 9: Line 9:
<!---|eff= local |Multiplayer Effects=--->
<!---|eff= local |Multiplayer Effects=--->


| ''N/A'' |Description=
| Return value1 raised to the power of value2. Identical to [[a ^ b]]. |Description=


|[] call [[BIS_fnc_pow]]|Syntax=
| [value1, value2] call [[BIS_fnc_pow]] |Syntax=


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|p1= value1: [[Number]] |Parameter 1=


|Datatype - description|Return value=
|p2= value2: [[Number]] |Parameter 2=


|x1= <code></code>|Example 1=
|[[Number]] - value1 ^ value2 |Return value=


| |See also=
|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=
}}
}}



Revision as of 12: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; -no comment defined-

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