DocsFunctionsmathmath.Absmath.AbsReturns the absolute value of the given number.Syntaxmath.Abs VALUEReturnsfloat64{{ math.Abs -2.1 }} → 2.1Last updated: March 8, 2025 : content: More front matter cleanup (c933ea237)Improve this page