ABS

ABS(arg1) → { number | string | boolean }

Returns the absolute value of a number, a number without its sign.

Parameters:

Name Type Description
arg1 number

Is the real number for which you want the absolute value.

Returns:

Type
number | string | boolean