Calculates the absolute value of a field.

Function Traits: FieldComputationFunction

ParameterTypeRequiredDefaultDescription
asstringoptional_abs The name of the output field.
field[a]stringrequired  The name of the input field.

[a] The argument name field can be omitted.

The parameter name for field can be omitted; the following forms are equivalent:

logscale
math:abs("value")

and:

logscale
math:abs(field="value")