Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'

This commit is contained in:
Bjørn Erik Pedersen
2025-04-10 13:04:51 +02:00
987 changed files with 12379 additions and 14083 deletions

View File

@@ -2,20 +2,13 @@
title: math.Sum
description: Returns the sum of all numbers. Accepts scalars, slices, or both.
categories: []
action:
aliases: []
related:
- functions/math/Add
- functions/math/Div
- functions/math/Mul
- functions/math/Product
- functions/math/Sub
returnType: float64
signatures: [math.Sum VALUE...]
params:
functions_and_methods:
aliases: []
returnType: float64
signatures: [math.Sum VALUE...]
---
{{< new-in 0.114.0 />}}
```go-html-template
{{ math.Sum 1 (slice 2 3) 4 }} → 10
```