Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请参考下面的图 1,有些产品的 PROD_Product.Nett_Weight 和 PROD_Product.Gross_Weight 值有时为 0,因此会引发图 2 错误。
有没有办法绕过这个错误来显示“0”?
图 1
图 2
If {PROD_Product.Gross_Weight} <> 0 Then {PROD_Product.Nett_Weight} / {PROD_Product.Gross_Weight} * {PROD_Product.Number_Off} * 100 Else 0