/
Absolute value function
Absolute value function
Returns the absolute value for each value in a column. For example, the absolute value of -10 is 10.
Namespaces
math
decimal
Input
Numeric values
Output
Integer or Decimal values
Syntax
For non-decimal columns:
set-column :column math:abs(column)
For decimal values:
set-column :column decinal:abs(column)
Example
Returns the absolute value of each value in the test
column.
set-column :test math:abs(test)
, multiple selections available,
Related content
Floor function
Floor function
More like this
Divide function
Divide function
More like this
Subtract function
Subtract function
More like this
Multiply function
Multiply function
More like this
Modulo function
Modulo function
More like this
Sin function
Sin function
More like this
Created in 2020 by Google Inc.