You will need a function to do that for you. Something like this:<BR><BR><%<BR> Dim MyNum<BR> MyNum = 13.9<BR> MyNum=MyRounder(MyNum)<BR> response.write MyNum<BR>%><BR><script language = "vbscript" runat="server"><BR> function MyRounder(MyNum)<BR> If InStr(MyNum,".") > 0 then<BR> MyNum = int(MyNum) + 1<BR> end If<BR> MyRounder=MyNum<BR> End Function<BR></script><BR>
Thanks for your help. I have the variable setup with round(varname) etc. Basically this is the result i am looking for<BR><BR>If i round(14.01) it will give me 14 because that is what it would normally get rounded to. I need to get the answer to be 15, so i dont know if the round function will do what i want or if i need to do something else.