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