OracleNumeric FunctionsABS
CHR

ABSNumeric Functions

CEIL

Returns the absolute value.

Syntax

ABS(n)

Example

Enter values below to update the example in real time.

budget
actual_cost
cost_diff
projects
SELECT ABS(budget - actual_cost) AS cost_diff FROM projects;