连接 - 在 Crystal 报告中用数字符号
Concatenate - sign with numeric in Crystal Report
我想连接 - 用数字签名我试过了但没有用。我只想在计算结果值上加-号。代码如下。
if ({Sp_ProductLedger;1.QtyOut}) >0 then
"-" &({#RTotal0} + {Sp_ProductLedger;1.Opbal});
如果您想要一个负数结果,请乘以 -1 而不是添加减号(这将导致字符串而不是数字)。
我想连接 - 用数字签名我试过了但没有用。我只想在计算结果值上加-号。代码如下。
if ({Sp_ProductLedger;1.QtyOut}) >0 then
"-" &({#RTotal0} + {Sp_ProductLedger;1.Opbal});
如果您想要一个负数结果,请乘以 -1 而不是添加减号(这将导致字符串而不是数字)。