In mathematics, that would be a "Ceiling" function.
There's probably one available is some library somewhere,
but it's probably simpler to create a public function and
call it. Here's what I came up with, using the Round
function:
-----------------------------------------
Public Function RoundUP(RoundMe As Double)
Dim RoundAnswer As Double
RoundAnswer = Round(RoundMe, 0)
If RoundAnswer < RoundMe Then
RoundAnswer = RoundAnswer + 1
End If
RoundUP = RoundAnswer
End Function
-----------------------------------------
You should be able to call that function in a query or
whatever with the following syntax:
RoundUP(NumericVariable)
Hope that helps!
DBS (David Staas)