math.Mod
Returns the modulus of two integers.
Syntax
math.Mod VALUE1 VALUE2
Returns
int64
Alias
mod
{{ mod 15 3 }} → 0Last updated:
March 5, 2025
:
content: Remove "related" array from function and method pages (2fcd21ee5)
Improve this pageHugo Documentation

Syntax
Returns
Alias
{{ mod 15 3 }} → 0