a ^ b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (#)
m (Text replacement - "|= Game version" to "|Game version=")
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
| ofp |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| a '''raised to the power of''' b  |= Description
| a '''raised to the power of''' b  |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| a '''^''' b |= Syntax
| a '''^''' b |SYNTAX=


|p1 = a: [[Number]]
|p1 = a: [[Number]]
Line 17: Line 17:




| [[Number]] |= Return value
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>5 '''^''' 2</code>
|x1 = <code>5 '''^''' 2</code>
Result is 25
Result is 25
| [[Operators]] |= See also
| [[Math Commands]] [[Operators]] |SEEALSO=


}}
}}
Line 36: Line 36:


[[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|#]]

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