<%
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)
%>

相关文章:

  • 2021-11-21
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-17
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案