Abs

From BR Wiki
Jump to navigation Jump to search
ABS(<numeric expression>)

The Abs internal function returns the absolute value of the numeric expression within parenthesis. In other words, regardless of whether the argument passed to ABS is positive, zero, or negative, the result is always NON-NEGATIVE.

Comments and Examples

  • ABS(-342) returns 342
  • ABS(-84.11) returns 84.11
  • ABS(4) returns 4
  • ABS(0) returns 0

Related Functions