mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
16 lines
311 B
Markdown
16 lines
311 B
Markdown
---
|
|
title: math.Max
|
|
description: Returns the greater of all numbers. Accepts scalars, slices, or both.
|
|
categories: []
|
|
keywords: []
|
|
action:
|
|
aliases: []
|
|
related:
|
|
- functions/math/Min
|
|
returnType: float64
|
|
signatures: [math.Max VALUE...]
|
|
---
|
|
|
|
```go-html-template
|
|
{{ math.Max 1 (slice 2 3) 4 }} → 4
|
|
```
|