以文本方式查看主题

-  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=38321)

--  作者:tungwun
--  发布时间:2013/7/25 22:55:00
--  [求助]
已下代碼金额是没有数据隐藏 ($0.00),當金額是出現負數是没有数据印出 请问如何同时打印负数?
rl = new prt.RenderText
If curRow("過戶費") > 0 Then
rl.Text = Format(CurRow("過戶費"),"$#0.00")
End If

[此贴子已经被作者于2013-7-25 23:02:24编辑过]

--  作者:Bin
--  发布时间:2013/7/26 8:43:00
--  
If curRow("過戶費") <> 0 Then
rl.Text = Format(CurRow("過戶費"),"$#0.00")
End If