ABS (Absolute value- Azure Stream Analytics)
A mathematical function that returns the absolute (positive) value of the specified numeric expression.
Syntax
ABS (expression )
Argument
expression
Is an expression of the exact numeric or approximate numeric data type category. ABS can be used with bigint or float columns.
Return Type
Returns the same type as expression.
Example
SELECT ABS(input.x) AS "The ABS of the variable x"
FROM input