Background for Fallout 4
Member of the Math script
floatfunctionLog(floatarg1)NativeGlobal

Description

Wiki Description

Returns the natural logarithm of a specified number.


Caveats


Parameters

floatarg1

CK Wiki Description

The number to calculate the natural logarithm of.


Examples

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

Auto-Generated Example

float myFloat__arg1

float returnedValue = Math.Log(myFloat__arg1)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.