hugo/docs/content/en/functions/math/Div.md
2023-12-04 15:24:01 +01:00

494 B

title description categories keywords action
math.Div Divides the first number by one or more numbers.
aliases related returnType signatures
div
functions/math/Add
functions/math/Mul
functions/math/Product
functions/math/Sub
functions/math/Sum
any
math.Div VALUE VALUE...

If one of the numbers is a float, the result is a float.

{{ div 12 3 2 }} → 2