小数点以下位数需要保留几位就选几位
尾数处理也要选择
然后点击小数点以下位数右边的公式编辑
if Right(ToText({P_GPS_App_Models_StockDownloadStockInOutLedgerReport.StockInNum},2),2) = "00"
then0
else if Right(ToText({P_GPS_App_Models_StockDownloadStockInOutLedgerReport.StockInNum},2),1) = "0"
then
1
else
2