asp takes the integer of a number but does not round it. As long as there is a decimal, take the integer greater than this number.
like:
0.625 takes 1
2.1 Take 3
3.6 Take 4
<%
if fix(a)>a then
b=fix(a)
else
b=fix(a)+1
response.write b
end if
%>
or:
<%
a=0.625
if a<>fix(a) then
a=fix(a)+1
else
a=fix(a)
end if
response.write a
%>
(Note: This test was successful!)
-------------
If used:
<%
a=0.625
if a<>cint(a) then
a=cint(a)+1
response.write a
end if
%>
(Note: If a=0.625, the returned value will be 2 instead of 1.)