Log - Math

Revision as of 19:53, 18 January 2021 by imported>Google5
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Returns the natural logarithm of a specified number.

SyntaxEdit

float Function Log(float arg1) Global Native

ParametersEdit

  • arg1: The number to calculate the natural logarithm of.

Return ValueEdit

The natural logarithm of a specified number.

ExamplesEdit

float a = Math.Log(1)       ; a == 0
float b = Math.Log(1000)    ; b == ~6.9
float c = Math.Log(1000000) ; c == ~13.8

See AlsoEdit