Look at Access, Office VB issue 9902. Editor Ken Getz (co-author of The Access XX Handboook series) gives a great rounding routine. This mag is a great reference for dev tips and is well worth the $$.
SUB UpTrunc(x As double)<br>
Dim result As long<br>
result = Int(x) 'I believe it's Int, otherwise try Trunc<br>
If result<>x Then result = result + 1<br>
UpTrunc = result<br>
END SUB
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.