Log - Math

Revision as of 15:02, 13 July 2023 by Ingvion (talk | contribs) (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Math Script Returns natural logarithm of passed argument as float value. == Syntax ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: Math Script

Returns natural logarithm of passed argument as float value.

Syntax

float Function Log(float arg1) global native

Parameters

  • arg1: The float value to calculate natural logarithm from.

Return Value

The natural logarithm of arg1.

Examples

float lnNum = Math.Log(5,89) ; lnNum == 1,77325...

Notes

See Also