Log - Math
Jump to navigation
Jump to search
F4SE Member of: Math Script
Requires F4SE version 0.2.0 or higher.
Returns the natural logarithm of a specified number.
Syntax[edit | edit source]
float Function Log(float arg1) Global Native
Parameters[edit | edit source]
- arg1: The number to calculate the natural logarithm of.
Return Value[edit | edit source]
The natural logarithm of a specified number.
Examples[edit | edit source]
float a = Math.Log(1) ; a == 0
float b = Math.Log(1000) ; b == ~6.9
float c = Math.Log(1000000) ; c == ~13.8