Error getting tags :
error 404Error getting tags :
error 404 abs | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
abs
Basics
Expander triangle
Type
Function
Syntax

the abs of number

abs(number)

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the absolute value of a number.
Examples

abs(14)
the abs of -14
abs(firstNum - secondNum)
abs(secondNum - firstNum)

Additional Comments
Expander triangle

Use the abs function if you need to know the magnitude of the number and are not concerned about whether it is negative or not.

Parameters:

The number is a positive or negative number, or any expression that evaluates to a number.

Value:

The abs function returns a positive number.

Comments:

The absolute value of a number is that number's distance from zero. If the number is positive, its absolute value is just the number; if the number is negative, its absolute value is the negative of the number. Because of this, the absolute value of a number is always positive.

User Comments
Expander triangle