summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/math/Mod.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/math/Mod.md')
-rw-r--r--docs/content/en/functions/math/Mod.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/content/en/functions/math/Mod.md b/docs/content/en/functions/math/Mod.md
new file mode 100644
index 000000000..6035a361e
--- /dev/null
+++ b/docs/content/en/functions/math/Mod.md
@@ -0,0 +1,15 @@
+---
+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
+```