Syntax
AbsoluteValue <number>Description
Return the AbsoluteValue of the specified number.Parameters
<number>
- A integer or floating point number.
Remarks
The absolute value of a number is its unsigned magnitude. For example, AbsoluteValue (-1) and AbsoluteValue 1 both return 1.Example
x = -1 * 2.45
y = AbsoluteValue xThe example sets the variable x to -2.45 and y to 2.45.