From d9202fd53d78dd8136f2afb3f8269aef7f94bba3 Mon Sep 17 00:00:00 2001 From: Animesh Srivastava Date: Thu, 30 May 2019 19:12:54 +0530 Subject: [PATCH] Update abs.adoc Issue #604 @per1234 Please have a look. We can add further details to a mathematical section for more description. --- Language/Functions/Math/abs.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Language/Functions/Math/abs.adoc b/Language/Functions/Math/abs.adoc index c24610f7a..077b35088 100644 --- a/Language/Functions/Math/abs.adoc +++ b/Language/Functions/Math/abs.adoc @@ -35,6 +35,11 @@ Calculates the absolute value of a number. === Returns `x`: if x is greater than or equal to 0. + `-x`: if x is less than 0. +[%hardbreaks] +image::https://www.mathsisfun.com/sets/images/function-absolute.svg[] +In the figure above `y` represents `abs(x)` + + -- // OVERVIEW SECTION ENDS