Condividi tramite


Number.Log

Sintassi

Number.Log(number as nullable number, optional base as nullable number) as nullable number

Informazioni su

Restituisce il logaritmo di un numero, number, nella base base specificata. Se base non è specificato, il valore predefinito è Number.E. Se number è null, Number.Log restituisce null.

Esempio 1

Ottenere il logaritmo in base 10 di 2.

Utilizzo

Number.Log(2, 10)

Output

0.3010299956639812

Esempio 2

Ottenere il logaritmo in base e di 2.

Utilizzo

Number.Log(2)

Output

0.69314718055994529