1
0
Fork 0
hugo/docs/content/en/functions/math/Add.md

436 B

title description categories keywords params
math.Add Adds two or more numbers.
functions_and_methods
aliases returnType signatures
add
any
math.Add VALUE VALUE...

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

{{ add 12 3 2 }} → 17

You can also use the add function to concatenate strings.

{{ add "hu" "go" }} → hugo