a ^ b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
(15 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<h2 style="color:#000066">''' ''a'' ^ ''b'' '''</h2>
{{Command|= Comments
____________________________________________________________________________________________


| ofp |= Game name


'''Operand types:'''
|1.00|= Game version
____________________________________________________________________________________________


'''a:''' [[Number]]
| a '''raised to the power of''' b  |DESCRIPTION=
____________________________________________________________________________________________


'''b:''' [[Number]]
| a '''^''' b |SYNTAX=


'''Type of returned value:'''
|p1 = a: [[Number]]


[[Number]]
|p2 = b: [[Number]]


'''Description:'''


a '''raised to the power of''' b
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
|x1 = <code>5 '''^''' 2</code>
Result is 25
| [[Operators]] |SEEALSO=


}}


'''Example:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>


5 '''^''' 2 ......... Result is 25


[[Category:Scripting Commands|#]]
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands OFP 1.99|#]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA2|#]]
[[Category:Scripting Commands Arma 3|#]]
[[Category:Command_Group:_Math|#]]
[[Category:Command_Group:_Math|#]]
[[Category:Command_Group:_Variables|#]]

Revision as of 12:24, 7 April 2019

Hover & click on the images for description

Description

Description:
a raised to the power of b
Groups:
Uncategorised

Syntax

Syntax:
a ^ b
Parameters:
a: Number
b: Number
Return Value:
Number

Examples

Example 1:
5 ^ 2 Result is 25

Additional Information

See also:
Operators

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

Notes

Bottom Section