Exp - Math

Revision as of 19:58, 18 January 2021 by imported>Google5
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

SyntaxEdit

float Function Exp(float afArg1) Native Global

ParametersEdit

  • afArg1: The power to raise e to.

Return ValueEdit

  • Returns e raised to the power of afArg1.

ExamplesEdit

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

See AlsoEdit