ABS

Represents the SQLite ABS() function, which computes the absolute value of a numeric expression.

The return type is the same as the input type (either INTEGER or REAL). If the input x is null, the result is null. If x is the most negative integer (-9223372036854775808), the result is null due to integer overflow.

Return

A KQLiteColumn with the absolute value of the input.

Author

MOHAMMAD AZIM ANSARI

Parameters

x

The column containing the numeric value.

Type Parameters

T

The numeric type of the column.

See also