Number.Log
Restituisce il logaritmo del numero alla base specificata (predefinito e).
Syntax
Number.Log(
number as number,
optional base as number
) as number
Remarks
Restituisce il logaritmo di un numero, number, alla base base specificata. Se base non è specificato, il valore predefinito è Number.E. Se number è Null, Number.Log restituisce Null.
Examples
Example #1
Ottenere il logaritmo in base 10 di 2.
Number.Log(2, 10)
Result:
0.3010299956639812
Example #2
Ottenere il logaritmo in base e di 2.
Number.Log(2)
Result:
0.69314718055994529
Category
Number.Operations