a ^ b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
(24 intermediate revisions by 10 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#.23|COMREF]]
{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">''' ''a'' ^ ''b'' '''</h2>
| ofp |= Game name


|1.00|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| a '''raised to the power of''' b  |DESCRIPTION=
____________________________________________________________________________________________


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


'''b:''' [[Number]]
|p1 = a: [[Number]]


'''Type of returned value:'''
|p2 = b: [[Number]]


[[Number]]


'''Description:'''
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
|x1 = <code>5 '''^''' 2</code>
Result is 25
| [[Operators]] |SEEALSO=


a '''raised to the power of''' b
}}


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


'''Example:'''
<!-- Note Section END -->
</dl>


5 '''^''' 2 ......... Result is 25
<h3 style="display:none">Bottom Section</h3>
 
 
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands OFP 1.99|#]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA2|#]]
[[Category:Scripting Commands Arma 3|#]]
[[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