The ABS()
function returns the absolute value of a number.
Figure 1 shows a mathematical representation of the ABS()
function.
ABS(number)
The ABS()
function takes a number as a parameter.
The ABS()
function returns the absolute value
of a number that is passed in as a parameter.
-- negative number SELECT ABS(-10); -- 0 SELECT ABS(0); -- positive number SELECT ABS(10);
RELATED TAGS
CONTRIBUTOR
View all Courses