☰
Debian Codegraph
@
0.167.0-2
0.166.0-2
0.166.0-1
0.165.0-3
0.165.0-2
0.162.1-1
/
/
docs
/
content
/
en
/
functions
/
math
/
Mod.md
☽
☼
docs/content/en/functions/math/Mod.md
code
rendered
plain
raw
Apache-2.0
2013–2016 Steve Francia <
[email protected]
>; 2014–2025 Bjørn Erik Pedersen <
[email protected]
>; 2015–2025 The Hugo Authors
debian/copyright
1
---
2
title: math.Mod
3
description: Returns the modulus of two integers.
4
categories: []
5
keywords: []
6
params:
7
functions_and_methods:
8
aliases: [mod]
9
returnType: int64
10
signatures: [math.Mod VALUE1 VALUE2]
11
---
12
13
```go-html-template
14
{{ mod 15 3 }} → 0
15
```