Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Switch services using the Version drop-down list. Learn more about navigation.
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
The natural logarithm is the base-e logarithm: the inverse of the natural exponential function (exp).
Syntax
log(number)
Learn more about syntax conventions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| number | real |
✔️ | The number for which to calculate the logarithm. |
Returns
log()returns the natural logarithm of the input.nullif the argument is negative or null or can't be converted to arealvalue.
Example
print result=log(5)
Output
| result |
|---|
| 1.6094379124341003 |