mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
18 lines
279 B
Markdown
18 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
|
||
|
```
|