VBScript中如何返回大于等于其数字参数的最小整数,急!!!送100分

JAVAScript中有Math.ceil可以用
VBScript中如何返回大于等于其数字参数的最小整数,急!!!送100分

 1<html>
 2<head>
 3</head>
 4<body>
 5<script language="JavaScript">   
 6function ceil(n)   
 7{   
 8return Math.ceil(n)   
 9}   
10//-->   
11</script>
12<script language="VBScript">   
13MsgBox ceil(12.364)   
14</script>   
15\---------------------------------------------------------------</body></html>
Published At
Categories with Web编程
comments powered by Disqus