You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在GCP云工作流中实现math.ceiling()?附替代方案探讨

GCP云工作流数学函数相关疑问
  • 我找到了math.floor的官方文档
  • 实际使用中觉得math.floor用处不大,因为调用int()就能达到相同效果,它默认执行向下取整
  • 目前我只能用这种略显繁琐的写法实现类似math.ceiling()的向上取整功能:math.floor(if(input%100==0, input/100, input/100+1)),想请教在GCP云工作流中有没有更简洁的方式实现math.ceiling()?

内容的提问来源于stack exchange,提问作者watashiSHUN

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.13 07:57:03