exp: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (E link)
m (formatted notes + formatted examples)
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_result=exp 1</pre>
|x1= <code>_result = [[exp]] 1</code>


returns 2.7182 |= Example 1
returns 2.7182 |= Example 1
Line 29: Line 29:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
Note that you cannot exponent a value greater than 88.72283554077147726999 (999 repeating), as this is beyond what the game can calculate.
<dt class="note">Unknown <dd class="note">Note that you cannot exponent a value greater than 88.72283554077147726999 (999 repeating), as this is beyond what the game can calculate.
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 17:10, 26 March 2016

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 E (mathematical constant)

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

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