ABS
Last updated
Was this helpful?
Last updated
Was this helpful?
The function ABS takes a number and returns the absolute value of that number.
This function takes a single as input. It outputs the absolute value of that Number.
number (required, type: number) The number to return the absolute value of.
absolute_value (type: number) The absolute value of the given number. The absolute value of a number is the distance that number is from zero, irrespective of the direction. Absolute values will always be positive.
The following example takes the number -5 and outputs the absolute value, 5:
The following example takes the number 0.25 and outputs the absolute value, 0.25:
ABS(-5)