W3cubDocs

/Nushell

math product for math

Returns the product of a list of numbers or the products of each column of a table.

Signature

> math product {flags}

Input/output types:

input output
list<number> number

Examples

Compute the product of a list of numbers

> [2334] |math product
72

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/math_product.html