List.Product

语法

List.Product(numbersList as list, optional precision as nullable number) as nullable number

关于

返回列表 numbersList 中非 NULL 数的乘积。 如果列表中没有非 NULL 值,则返回 NULL。

示例 1

查找列表 {1, 2, 3, 3, 4, 5, 5} 中的数的乘积。

使用情况

List.Product({1, 2, 3, 3, 4, 5, 5})

输出

1800