Asp价格大于10000时显示万字方法

直接COPY下面代即可

<%
Dim Punit
Punit=150000 '此处调用你的价格或其它数值
if Punit>=10000 then
response.write Punit/10000 & "万元"
else
response.write Punit & "元"
end if%>

引用地址:

post by 不懂戀愛魚兒 | 2010年8月12日 | 归档于 [Asp技术]
标签: asp

发表评论

sitemap