If you always want it at the thousandths, you could say:
<%
function roundUp(n)
if clng(n*10000) = 10 * clng(n*1000) then
n = formatnumber(n, 3)
else
n = formatnumber(n + 0.0005, 3)
end if
roundup = n
end function
response.write "<br>" & roundUp(0.0341)
response.write "<br>" & roundUp(0.03409)
response.write "<br>" & roundUp(0.0340)
response.write "<br>" & roundUp(0.0359)
%>
"Brent Bortnick" <br***@hitechseals.com> wrote in message
news:47****************************@phx.gbl...
Is there a way to make your numbers always round up. Ex:
if the number is 0.0341 it will round to 0.035
Brent