Abs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
ABS(<numeric expression>) | ABS(<[[numeric expression]]>) | ||
The '''Abs''' [[internal function]] returns the absolute value of | 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