Editar

Partilhar via


log10()

Applies to: ✅ Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft Sentinel

log10() returns the common (base-10) logarithm of the input.

Syntax

log10(number)

Learn more about syntax conventions.

Parameters

Name Type Required Description
number real ✔️ The number for which to calculate the base-10 logarithm.

Returns

  • The common logarithm is the base-10 logarithm: the inverse of the exponential function (exp) with base 10.
  • null if the argument is negative or null or can't be converted to a real value.

Example

print result=log10(5)

Output

result
0.69897000433601886
  • For natural (base-e) logarithms, see log().
  • For base-2 logarithms, see log2()