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

486 B

title description categories action
math.Sub Subtracts one or more numbers from the first number.
aliases related returnType signatures
sub
functions/math/Add
functions/math/Div
functions/math/Mul
functions/math/Product
functions/math/Sum
any
math.Sub VALUE VALUE...

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

{{ sub 12 3 2 }} → 7