ReferenceSQL ReferenceSQL FunctionsfunctionsABSVersion: current [24.2.x]On this pageABSCategories: MathABSComputes the absolute value of a numeric expression.SyntaxABS(numeric_expression NUMERIC) → NUMERICnumeric_expression: BINARY, DECIMAL, DOUBLE, FLOAT, INTEGERExamplesABS exampleSELECT ABS(0.0)-- 0.0ABS exampleSELECT ABS(-2)-- 2ABS exampleSELECT ABS(NULL)-- null