Docs Functions math math.Productmath.ProductReturns the product of all numbers. Accepts scalars, slices, or both.Syntaxmath.Product VALUE...Returnsfloat64{{ math.Product 1 (slice 2 3) 4 }} → 24Last updated: January 1, 0001Improve this page