以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  如何将四舍五入作为筛选条件  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=174151)

--  作者:guosheng
--  发布时间:2022/1/4 14:50:00
--  如何将四舍五入作为筛选条件
e.DataTable.GetComboListString("应结转而未结转的年份","结转提交人 is null And math.round(应结转租金金额,2)>100 ").replace("|", ",")
用math.round ,round2,convert 转换都报错啊。


--  作者:有点蓝
--  发布时间:2022/1/4 14:55:00
--  



e.DataTable.GetComboListString("应结转而未结转的年份","结转提交人 is null And Convert(应结转租金金额 * 100, \'System.Int64\') / 100>100 ").replace("|", ",")