page_title: abs - Functions - Configuration Language
description: The abs function returns the absolute value of the given number.
---
# abs function reference
This topic provides reference information about the abs function. The abs function returns the absolute value of the given number.
This topic provides reference information about the `abs` function. The `abs` function returns the absolute value of the given number.
## Introduction
abs returns the absolute value of the given number. If the number is zero or positive, the function returns the value as-is, but if it is negative, it is multiplied by -1 to make it positive before returning it.