Skip to main content

$abs

The $abs operator returns the absolute value of a number.

Input

  • A single numeric value

Output

  • The absolute value of the input

Examples

Positive Number

Result: 5

Negative Number

Result: 3.5

Field Value

Result: The absolute value of the temperature_change field