Abs: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
ABS(x)
ABS(<numeric expression>)


The '''Abs''' [[internal function]] returns the absolute value of X. In other words, regardless of whether the argument passed to ABS is positive, zero, or negative, the result is always '''NON-NEGATIVE'''.
The '''Abs''' [[internal function]] returns the absolute value of X. In other words, regardless of whether the argument passed to ABS is positive, zero, or negative, the result is always '''NON-NEGATIVE'''.

Revision as of 19:32, 20 May 2014

ABS(<numeric expression>)

The Abs internal function returns the absolute value of X. 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