Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Calculates the absolute value of the input.
abs(
x)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
x | int, real, or timespan | ✔️ | The value to make absolute. |
Absolute value of x.
print abs(-5)
Output
print_0 |
---|
5 |