For the complete documentation index, see llms.txt. This page is also available as Markdown.

SU.Math.log10

SU Library: ab Version 0.7.0

SU.Math.log10(value)

Gibt den dekadischen Logarithmus (Logarithmus zur Basis 10) zurück.

Parameter

  • value: number – Positive reelle Zahl (größer als 0)

Rückgabewert

  • number – Der Logarithmus zur Basis 10

  • -inf (SU.Math.isInf): Bei Eingabe von 0

  • nan (not a number, SU.Math.isNan): Bei negativen Eingaben

Beispiel

local log10Value = SU.Math.log10(100)    -- liefert 2.0

Last updated