hugo/docs/content/en/functions/math/Max.md

17 lines
311 B
Markdown
Raw Normal View History

---
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
```