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)
valresult
-5.55.5
3.03.0