aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/functions/math/Min.md
blob: 79e464c74ab58db4870f92af9fba8ad7b6e22afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
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
```