hugo/docs/content/en/functions/math/Mod.md
2023-12-04 15:24:01 +01:00

16 lines
272 B
Markdown

---
title: math.Mod
description: Returns the modulus of two integers.
categories: []
keywords: []
action:
aliases: [mod]
related:
- functions/math/ModBool
returnType: int64
signatures: [math.Mod VALUE1 VALUE2]
---
```go-html-template
{{ mod 15 3 }} → 0
```