a ^ b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "|= Game version" to "|Game version=")
(17 intermediate revisions by 10 users not shown)
Line 1: Line 1:
#REDIRECT [[Operators]]
{{Command|Comments=
____________________________________________________________________________________________
 
| ofp |Game name=
 
|1.00|Game version=
____________________________________________________________________________________________
 
| a '''raised to the power of''' b  |DESCRIPTION=
____________________________________________________________________________________________
 
| a '''^''' b |SYNTAX=
 
|p1 = a: [[Number]]
 
|p2 = b: [[Number]]
 
 
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
|x1 = <code>5 '''^''' 2</code>
Result is 25
| [[Math Commands]] [[Operators]] |SEEALSO=
 
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
</dl>
 
<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 01:40, 31 August 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:
Math Commands 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