Abs
Abs
is a mathematical function that returns the absolute value of a numeric value, row, column, or cell. The absolute value of a number is that number without a negative sign. A negative number becomes positive, while a positive number remains positive.
Syntax:
Abs(argument)
where argument
is one of the following values:
Argument | Description |
---|---|
numeric |
A numeric value. For example, Numeric values can include decimals and negative values. See Numeric Arguments. |
row, column, or cell reference |
A pointer to a row, column, or cell within a grid. You can specify references in several ways. The reference syntax is: |
function |
An embedded function. |
Examples:
Return the value 30:
Abs(-30)
Return the absolute value of the value in row 1:
Abs(row[1])
Calculate the absolute value of the sum of column E:
Abs(column[E].sum)
Point to expanded rows 1 through 3 within design segment 3 of Grid1:
Abs(Grid1.row[3(1:3)])