Abs: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
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 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====
====Comments and Examples====

Latest revision as of 12:38, 22 May 2014

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