Excerpt |
---|
|
abs(number) Returns the absolute value of a number. |
Function: abs()
Returns the absolute value of a number.
Syntax
abs(number)
Argument | Type | Description |
---|
number | Number | A number for which the absolute value is required. |
Examples
abs(-2.3)
returns 2.3.
abs(2.3)
returns 2.3.
See Also