Abs
abs
Returns the absolute value of the input.
Spec
abs(arg0)Parameters
arg0 - A numeric value.Return Value
The absolute value of arg0 as a double.Example
datatable(val:double)[-5.5, 3.0]
| extend result = abs(val)| val | result |
|---|---|
| -5.5 | 5.5 |
| 3.0 | 3.0 |
Returns the absolute value of the input.
abs(arg0)arg0 - A numeric value.The absolute value of arg0 as a double.datatable(val:double)[-5.5, 3.0]
| extend result = abs(val)| val | result |
|---|---|
| -5.5 | 5.5 |
| 3.0 | 3.0 |