exp: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
Line 41: Line 41:
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 11:08, 2 November 2011

Hover & click on the images for description

Description

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

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

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

Note that you cannot exponent a value greater than 88.6, as this is beyond what the game can calculate.

Bottom Section