aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/en/functions/math/Mul.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/en/functions/math/Mul.md')
-rw-r--r--content/en/functions/math/Mul.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/content/en/functions/math/Mul.md b/content/en/functions/math/Mul.md
new file mode 100644
index 000000000..6824599e3
--- /dev/null
+++ b/content/en/functions/math/Mul.md
@@ -0,0 +1,24 @@
+---
+title: math.Mul
+description: Multiplies two or more numbers.
+categories: []
+keywords: []
+action:
+ aliases: [mul]
+ related:
+ - functions/math/Add
+ - functions/math/Div
+ - functions/math/Product
+ - functions/math/Sub
+ - functions/math/Sum
+ returnType: any
+ signatures: [math.Mul VALUE VALUE...]
+---
+
+If one of the numbers is a [`float`], the result is a `float`.
+
+```go-html-template
+{{ mul 12 3 2 }} → 72
+```
+
+[`float`]: /getting-started/glossary/#float