diff --git a/website/docs/language/functions/abs.mdx b/website/docs/language/functions/abs.mdx index 8f32aa5d6d..3ccb80ee8a 100644 --- a/website/docs/language/functions/abs.mdx +++ b/website/docs/language/functions/abs.mdx @@ -2,9 +2,12 @@ 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. ## Syntax