<%
Function Ceil(value)
Dim return
return = int(value)
Cei2=value-return
if Cei2>0 then
Ceil = return + 1
else
Ceil=value+0'就是Ceil=value多一个+0 强调返回值为数字型
End If
End Function
Response.write Ceil(1.01)
%>
<%
Function Ceil(value)
Dim return
return = int(value)
Cei2=value-return
if Cei2>0 then
Ceil = return + 1
else
Ceil=value+0'就是Ceil=value多一个+0 强调返回值为数字型
End If
End Function
Response.write Ceil(1.01)
%>
转载于:https://www.cnblogs.com/mazey/p/6563714.html