asp下返回以千分位显示数字格式化的数值
'****************************** function comma(str)if not(isnumeric(str)) or str = 0 thenresult = 0elseif len(fix(str)) 0 thendec = mid(str,pos)end
'****************************** function comma(str)if not(isnumeric(str)) or str = 0 thenresult = 0elseif len(fix(str)) 0 thendec = mid(str,pos)end
'****************************** Function CheckString(strng)CheckString = trueDim regEx, MatchSet regEx = New RegExpregEx.Pattern = "^[A-Za-z0-9]+$"re
'****************************** function formatQueryStr(str)dim nstrnstr = strnstr = replace(nstr,chr(0),"")nstr = replace(nstr,"'","''")nstr = repla
'****************************** Function GetUserTrueIP()dim strIPAddrIf Request.ServerVariables("HTTP_X_FORWARDED_FOR") = "" OR InStr(Request.ServerV
'****************************** Sub ConnectionMssql(ConnStr) On Error Resume Next Set objConn = Server.Createobject("ADODB.Connection") objConn.Conne
'****************************** function FormatFileSize(l1)dim l2,l3l3=formatnumber(l1,0,true)if l1>1048576 thenl2="("&formatnumber(l1/1048576
验证Ip格式 '****************************** Function CheckIp(paR_strIp)CheckIp =0Dim tmpLoop, tmpStrtmpStr =paR_strIpIf tmpStr ="" Or IsNull(tmpStr) Then E
去除HTML代码中所有标签实现代码如下:欢迎光临阿里西西")%> '****************************** Function RemoveHTML_A(strText)Dim nPos1Dim nPos2nPos1 = InStr(strText, "0nPos2 = I