Asp价格大于10000时显示万字方法asp
<%
Dim Punit
Punit=150000 '此处调用你的价格或其它数值
if Punit>=10000 then
response.write Punit/10000 & "万元"
else
response.write Punit & "元"
end if
%>...
<%
Dim Punit
Punit=150000 '此处调用你的价格或其它数值
if Punit>=10000 then
response.write Punit/10000 & "万元"
else
response.write Punit & "元"
end if
%>
Dim Punit
Punit=150000 '此处调用你的价格或其它数值
if Punit>=10000 then
response.write Punit/10000 & "万元"
else
response.write Punit & "元"
end if
%>
上一篇:Asp随机生成一个密码
下一篇:ASP下格式化时间和日期的函数
最新评论
热门推荐
我要评论