abs()

The abs() function calculates the absolute value.

Syntax

abs(expr)
Note:
  1. Calculates the absolute value of number(expr).