此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
备注
访问此页面需要授权。 可以尝试登录或更改目录。
访问此页面需要授权。 可以尝试更改目录。
List.Sum(list as list, optional precision as nullable number) as any
返回列表中的 list非 null 值的总和。 如果列表中没有非 null 值,则返回 null。
list
计算列表{1, 2, 3}中的数字总和。
{1, 2, 3}
使用情况
List.Sum({1, 2, 3})
输出
6
此页面是否有帮助?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?