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