---
title: math.Abs
description: Returns the absolute value of the given number.
categories: []
keywords: []
params:
  functions_and_methods:
    aliases: []
    returnType: float64
    signatures: [math.Abs VALUE]
---

```go-html-template
{{ math.Abs -2.1 }} → 2.1
```
