---
title: math.Mod
description: Returns the modulus of two integers.
categories: []
keywords: []
params:
  functions_and_methods:
    aliases: [mod]
    returnType: int64
    signatures: [math.Mod VALUE1 VALUE2]
---

```go-html-template
{{ mod 15 3 }} → 0
```
