Difference between revisions of "exp"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
| ofp |Game name=
 
| ofp |Game name=
  
|1.00|= Game version
+
|1.00|Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 40: Line 40:
 
[[Category:Scripting Commands OFP 1.96|EXP]]
 
[[Category:Scripting Commands OFP 1.96|EXP]]
 
[[Category:Scripting Commands OFP 1.46|EXP]]
 
[[Category:Scripting Commands OFP 1.46|EXP]]
[[Category:Scripting Commands ArmA|EXP]]
+
[[Category:Scripting Commands Armed Assault|EXP]]
 
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 20:20, 3 June 2020

Introduced with Operation Flashpoint version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Let x be a number, then exp (x) is equal to e to the power of x (or e^x)

Syntax

Syntax:
Number = exp x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_result = exp 1 returns 2.7182

Additional Information

See also:
Math Commands E (mathematical constant)

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Unknown
Note that you cannot exponent a value greater than 88.72283554077147726999 (999 repeating), as this is beyond what the game can calculate.

Bottom Section