An ABS function converts a given number into the absolute value of that number. The function only accepts numerical values.


abs(num) : num


The following example creates a single NOR row with a column x and a value of -42. The second calculated column uses the ABS functions to convert x into the absolute value of x, or 42.

NORROWS 1 | CALC x -42 | CALC y abs(x)