a ^ b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| ofp
|sortKey=#


|1.00
|game1= ofp
 
|version1= 1.00


|gr1= Math
|gr1= Math


| a '''raised to the power of''' b
|descr= ''a'' raised to the power of ''b''


| a '''^''' b
|s1= a '''^''' b


|p1 = a: [[Number]]
|p1 = a: [[Number]]
Line 15: Line 17:
|p2 = b: [[Number]]
|p2 = b: [[Number]]


| [[Number]]
|r1= [[Number]]
|x1 = <code>5 '''^''' 2</code>
 
Result is 25
|x1 = <code>5 '''^''' 2 {{cc|5<sup>2</sup>, result is 25}}</code>
 
|seealso= [[Math Commands]] [[Operators]]
|seealso= [[Math Commands]] [[Operators]]
}}
}}


 
[[Category:Scripting Commands OFP 1.46]]
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands OFP 1.96]]
[[Category:Scripting Commands OFP 1.99|#]]
[[Category:Scripting Commands OFP 1.99]]
[[Category:Scripting Commands OFP 1.96|#]]
{{GameCategory|arma1|Scripting Commands}}
[[Category:Scripting Commands OFP 1.46|#]]
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands|sortKey=#}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands|sortKey=#}}
{{GameCategory|arma3|Scripting Commands|sortKey=#}}

Revision as of 23:57, 16 February 2021

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
5 ^ 2 // 52, 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