This wiki is a copy of the original Skyrim CK wiki created and maintained by the UESP.net. See CreationKit:Copy Notice for more info.

Exp - Math

From the Fallout4 CreationKit Wiki
Revision as of 18:58, 18 January 2021 by imported>Google5
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article has been flagged as incomplete.
Please help improve the wiki by learning how to contribute.

F4SE Member of: Math Script
Requires F4SE version 0.4.2 or higher.

Calculates e (Euler's number) raised to the given power of afArg1.

Syntax[edit | edit source]

float Function Exp(float afArg1) Native Global

Parameters[edit | edit source]

  • afArg1: The power to raise e to.

Return Value[edit | edit source]

  • Returns e raised to the power of afArg1.

Examples[edit | edit source]

float a = Math.Exp(0) ; a == 1
float b = Math.Exp(1) ; b == 2.718...
float c = Math.Exp(3) ; c == 20.085...

See Also[edit | edit source]