hugo/docs/content/en/functions/math/Abs.md
2023-12-04 15:24:01 +01:00

17 lines
279 B
Markdown

---
title: math.Abs
description: Returns the absolute value of the given number.
categories: []
keywords: []
action:
aliases: []
related: []
returnType: float64
signatures: [math.Abs VALUE]
---
{{< new-in 0.112.0 >}}
```go-html-template
{{ math.Abs -2.1 }} → 2.1
```