From 472bfe2b6eeb255d682002f50017605938e9dc95 Mon Sep 17 00:00:00 2001 From: CJ <105300705+cjobermaier@users.noreply.github.com> Date: Fri, 16 Aug 2024 15:33:38 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Brian McClain --- website/docs/language/functions/abs.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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