mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
17 lines
272 B
Markdown
17 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
|
||
|
```
|