abs()

Calculates the absolute value of the input.

Syntax

abs(x)

Arguments

  • x: An integer or real number, or a timespan value.

Returns

  • Absolute value of x.